Data Structures | |
class | tle94112::GPIOC |
class | tle94112::SPIC |
class | tle94112::Timer |
class tle94112::GPIOC |
Public Types | |
Interrupt event | |
enum | IntEvent_t { INT_FALLING_EDGE = 0 , INT_RISING_EDGE = 1 } |
Voltage level | |
enum | VLevel_t { GPIO_LOW = 0 , GPIO_HIGH = 1 } |
Voltage logic | |
enum | VLogic_t { NEGATIVE = 1 , POSITIVE = 2 } |
Public Member Functions | |
virtual Error_t | init ()=0 |
Initializes the GPIO. More... | |
virtual Error_t | deinit ()=0 |
Deinitializes the GPIO. More... | |
virtual VLevel_t | read ()=0 |
Reads the GPIO voltage level. More... | |
virtual Error_t | write (VLevel_t level)=0 |
Writes the GPIO output voltage level. More... | |
virtual Error_t | enable ()=0 |
Enables the GPIO output according to the GPIO logic. More... | |
virtual Error_t | disable ()=0 |
Disables the GPIO output according to the GPIO logic. More... | |
Error_t | checkErrorStatus () |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Error_t GPIOC::checkErrorStatus | ( | ) |
class tle94112::SPIC |
Public Member Functions | |
virtual Error_t | init ()=0 |
Initializes the SPIC. More... | |
virtual Error_t | deinit ()=0 |
Deinitializes the SPIC. More... | |
virtual Error_t | transfer (uint8_t send, uint8_t &received)=0 |
Send/receives data from SPI bus. More... | |
virtual Error_t | transfer16 (uint16_t send, uint16_t &received)=0 |
Send/receives data from SPI bus. More... | |
Error_t | checkErrorStatus () |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Error_t SPIC::checkErrorStatus | ( | ) |
class tle94112::Timer |
Public Member Functions | |
virtual Error_t | init ()=0 |
Initialize the timer. More... | |
virtual Error_t | deinit ()=0 |
Deinitialize the timer. More... | |
virtual Error_t | start ()=0 |
Starts the timer. More... | |
virtual Error_t | elapsed (uint32_t &elapsed)=0 |
Elapsed time since the timer was started. More... | |
virtual Error_t | stop ()=0 |
Stops the timer. More... | |
virtual Error_t | delayMilli (uint32_t timeout)=0 |
Introduces a delay during the specified time. More... | |
virtual Error_t | delayMicro (uint32_t timeout)=0 |
Introduces a delay during the specified time. More... | |
|
pure virtual |
Initialize the timer.
OK | if success |
INIT_ERROR | if hardware interface error |
Implemented in TimerWiced, TimerRpi, TimerMtb, and TimerIno.
|
pure virtual |
Deinitialize the timer.
OK | if success |
INIT_ERROR | if hardware interface error |
Implemented in TimerWiced, TimerRpi, TimerMtb, and TimerIno.
|
pure virtual |
Starts the timer.
OK | if success |
INIT_ERROR | if hardware interface error |
Implemented in TimerWiced, TimerRpi, TimerMtb, and TimerIno.
|
pure virtual |
|
pure virtual |
Stops the timer.
OK | if success |
INIT_ERROR | if hardware interface error |
Implemented in TimerWiced, TimerRpi, TimerMtb, and TimerIno.
|
pure virtual |
Introduces a delay during the specified time.
[in] | timeout | Delay time in milliseconds |
OK | if success |
INIT_ERROR | if hardware interface error |
Implemented in TimerWiced, TimerRpi, TimerMtb, and TimerIno.
|
pure virtual |
Introduces a delay during the specified time.
[in] | timeout | Delay time in microseconds |
OK | if success |
INIT_ERROR | if hardware interface error |
Implemented in TimerWiced, TimerRpi, TimerMtb, and TimerIno.