10 #ifndef HALL_PAL_GPIO_HPP_ 11 #define HALL_PAL_GPIO_HPP_ 13 #include "../corelib/hall-switch.hpp" virtual HallSwitch::Error_t write(VLevel_t level)=0
Writes the GPIO output voltage level.
Definition: hall-pal-gpio.hpp:53
Definition: hall-pal-gpio.hpp:42
Error_t
Definition: hall-switch.hpp:30
Definition: hall-pal-gpio.hpp:52
virtual HallSwitch::Error_t enableInt(HallSwitch *ptr)=0
Enables the hardware interrupt.
virtual IntEvent_t intEvent()=0
Gets the latest interrupt event.
Definition: hall-pal-gpio.hpp:30
virtual HallSwitch::Error_t deinit()=0
Deinitializes the GPIO.
virtual HallSwitch::Error_t enable()=0
Enables the GPIO output according to the GPIO logic.
VLevel_t
Definition: hall-pal-gpio.hpp:39
Definition: hall-pal-gpio.hpp:41
virtual HallSwitch::Error_t disable()=0
Disables the GPIO output according to the GPIO logic.
virtual HallSwitch::Error_t disableInt()=0
Disables the hardware interrupt.
Definition: hall-switch.hpp:22
VLogic_t
Definition: hall-pal-gpio.hpp:50
virtual HallSwitch::Error_t init()=0
Initializes the GPIO.
virtual VLevel_t read()=0
Reads the GPIO voltage level.
IntEvent_t
Definition: hall-pal-gpio.hpp:28
Definition: hall-pal-gpio.hpp:31
Definition: hall-pal-gpio.hpp:20