10 #ifndef PAS_CO2_PAL_GPIO_HPP_ 11 #define PAS_CO2_PAL_GPIO_HPP_ virtual Error_t deinit()=0
Deinitializes the GPIO.
virtual Error_t disableInt()=0
Disables the GPIO hardware interrupt.
Definition: pas-co2-pal-gpio.hpp:46
Definition: pas-co2-pal-gpio.hpp:36
Definition: pas-co2-pal-gpio.hpp:57
virtual Error_t enableInt(void(*cback)(void *))=0
Enables the GPIO hardware interrupt.
Definition: pas-co2-pal-gpio.hpp:58
Definition: pas-co2-i2c.hpp:21
virtual Error_t init()=0
Initializes the GPIO.
virtual Error_t disable()=0
Disables the GPIO output according to the GPIO logic.
virtual Error_t enable()=0
Enables the GPIO output according to the GPIO logic.
Error_t
Definition: pas-co2-types.hpp:24
VLogic_t
Definition: pas-co2-pal-gpio.hpp:55
virtual VLevel_t read()=0
Reads the GPIO voltage level.
IntEvent_t
Definition: pas-co2-pal-gpio.hpp:33
virtual Error_t write(VLevel_t level)=0
Writes the GPIO output voltage level.
VLevel_t
Definition: pas-co2-pal-gpio.hpp:44
Definition: pas-co2-pal-gpio.hpp:25
virtual IntEvent_t intEvent()=0
Gets the latest interrupt event.
Definition: pas-co2-pal-gpio.hpp:35
Definition: pas-co2-pal-gpio.hpp:47