#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | adc_callback_info_t |
Typedefs | |
typedef void(* | i2c_slave_callback_t) (i2c_slave_event_t event, void *userData) |
typedef void(* | i2c_master_callback_t) (i2c_master_event_t event, void *userData) |
typedef void(* | spi_callback_t) (void *driverState, spi_event_t event, void *userData) |
typedef void(* | uart_callback_t) (void *driverState, uart_event_t event, void *userData) |
Callback for all peripherals which support UART features. More... | |
typedef void(* | timer_callback_t) (void *userData) |
typedef void(*const | adc_callback_t) (const adc_callback_info_t *const callbackInfo, void *userData) |
typedef void(* | i2s_callback_t) (i2s_event_t event, void *userData) |
typedef void(* | can_callback_t) (uint32_t instance, can_event_t eventType, uint32_t objIdx, void *driverState) |
typedef void(* | security_callback_t) (uint32_t completedCmd, void *callbackParam) |
Callback for security modules. More... | |
typedef void(* | oc_callback_t) (oc_event_t event, void *userData) |
typedef void(* | ic_callback_t) (ic_event_t event, void *userData) |
Enumerations | |
enum | i2c_slave_event_t { I2C_SLAVE_EVENT_RX_FULL = 0x00U, I2C_SLAVE_EVENT_TX_EMPTY = 0x01U, I2C_SLAVE_EVENT_TX_REQ = 0x02U, I2C_SLAVE_EVENT_RX_REQ = 0x03U, I2C_SLAVE_EVENT_STOP = 0X04U } |
Define the enum of the events which can trigger I2C slave callback. More... | |
enum | i2c_master_event_t { I2C_MASTER_EVENT_END_TRANSFER = 0x4U } |
Define the enum of the events which can trigger I2C master callback. More... | |
enum | spi_event_t { SPI_EVENT_END_TRANSFER = 0 } |
enum | uart_event_t { UART_EVENT_RX_FULL = 0x00U, UART_EVENT_TX_EMPTY = 0x01U, UART_EVENT_END_TRANSFER = 0x02U, UART_EVENT_ERROR = 0x03U } |
Define the enum of the events which can trigger UART callback. More... | |
enum | i2s_event_t { I2S_EVENT_RX_FULL = 0x00U, I2S_EVENT_TX_EMPTY = 0x01U, I2S_EVENT_END_TRANSFER = 0x02U, I2S_EVENT_ERROR = 0x03U } |
enum | can_event_t { CAN_EVENT_RX_COMPLETE, CAN_EVENT_TX_COMPLETE } |
enum | oc_event_t { OC_EVENT_GENERATION_OUTPUT_COMPLETE = 0x00U } |
enum | ic_event_t { IC_EVENT_MEASUREMENT_COMPLETE = 0x00U } |
typedef void(* const adc_callback_t) (const adc_callback_info_t *const callbackInfo, void *userData) |
Definition at line 118 of file callbacks.h.
typedef void(* can_callback_t) (uint32_t instance, can_event_t eventType, uint32_t objIdx, void *driverState) |
Definition at line 158 of file callbacks.h.
typedef void(* i2c_master_callback_t) (i2c_master_event_t event, void *userData) |
Definition at line 70 of file callbacks.h.
typedef void(* i2c_slave_callback_t) (i2c_slave_event_t event, void *userData) |
Definition at line 67 of file callbacks.h.
typedef void(* i2s_callback_t) (i2s_event_t event, void *userData) |
Definition at line 142 of file callbacks.h.
typedef void(* ic_callback_t) (ic_event_t event, void *userData) |
Definition at line 185 of file callbacks.h.
typedef void(* oc_callback_t) (oc_event_t event, void *userData) |
Definition at line 177 of file callbacks.h.
typedef void(* security_callback_t) (uint32_t completedCmd, void *callbackParam) |
Callback for security modules.
Implements : security_callback_t_Class
Definition at line 168 of file callbacks.h.
typedef void(* spi_callback_t) (void *driverState, spi_event_t event, void *userData) |
Definition at line 81 of file callbacks.h.
typedef void(* timer_callback_t) (void *userData) |
Definition at line 107 of file callbacks.h.
typedef void(* uart_callback_t) (void *driverState, uart_event_t event, void *userData) |
Callback for all peripherals which support UART features.
Implements : uart_callback_t_Class
Definition at line 103 of file callbacks.h.
enum can_event_t |
Enumerator | |
---|---|
CAN_EVENT_RX_COMPLETE |
A frame was received in the configured Rx buffer. |
CAN_EVENT_TX_COMPLETE |
A frame was sent from the configured Tx buffer. |
Definition at line 149 of file callbacks.h.
enum i2c_master_event_t |
Define the enum of the events which can trigger I2C master callback.
This enum should include the events for all platforms
Implements : i2c_master_event_t_Class
Enumerator | |
---|---|
I2C_MASTER_EVENT_END_TRANSFER |
Definition at line 60 of file callbacks.h.
enum i2c_slave_event_t |
Define the enum of the events which can trigger I2C slave callback.
This enum should include the events for all platforms
Implements : i2c_slave_event_t_Class
Enumerator | |
---|---|
I2C_SLAVE_EVENT_RX_FULL | |
I2C_SLAVE_EVENT_TX_EMPTY | |
I2C_SLAVE_EVENT_TX_REQ | |
I2C_SLAVE_EVENT_RX_REQ | |
I2C_SLAVE_EVENT_STOP |
Definition at line 44 of file callbacks.h.
enum i2s_event_t |
Definition at line 126 of file callbacks.h.
enum ic_event_t |
Enumerator | |
---|---|
IC_EVENT_MEASUREMENT_COMPLETE |
Capture input signal is completed |
Definition at line 179 of file callbacks.h.
enum oc_event_t |
Enumerator | |
---|---|
OC_EVENT_GENERATION_OUTPUT_COMPLETE |
Generation output signal is completed |
Definition at line 171 of file callbacks.h.
enum spi_event_t |
Enumerator | |
---|---|
SPI_EVENT_END_TRANSFER |
Definition at line 75 of file callbacks.h.
enum uart_event_t |
Define the enum of the events which can trigger UART callback.
This enum should include the events for all platforms
Implements : uart_event_t_Class
Enumerator | |
---|---|
UART_EVENT_RX_FULL |
Rx buffer is full |
UART_EVENT_TX_EMPTY |
Tx buffer is empty |
UART_EVENT_END_TRANSFER |
The current transfer is ending |
UART_EVENT_ERROR |
An error occured during transfer |
Definition at line 90 of file callbacks.h.