![]() |
RA Flexible Software Package Documentation
Release v5.9.0
|
|
Functions | |
void | ptxPLAT_DisableInterrupts (struct ptxPlat *plat) |
Disable Interrupts. More... | |
void | ptxPLAT_EnableInterrupts (struct ptxPlat *plat) |
Enable Interrupts. More... | |
uint8_t | ptxPLAT_CheckRxActive (struct ptxPlat *plat) |
Check if PLAT interface reception is taking place at the moment. More... | |
Data Structures | |
struct | ptxPLAT_ConfigPars_t |
Platform-specific parameter initializers. More... | |
Typedefs | |
typedef void(* | pptxPlat_RxCallBack_t) (void *ctx) |
Callback function for IRQ triggered (asynchronously). | |
typedef void(* | pptxPlat_TimerCallBack_t) (void *ctx) |
Callback function for Timer Interrupt. | |
struct ptxPLAT_ConfigPars_t |
#define PTX_INTF_SPI |
Adding this define for the SDK in place of pre-processor macro
#define PTX_PLAT_TRX_FLAGS_I2C_RESTART_CONDITION |
Platform-specific flags parameter initializers.
Bit 0 ....: I2C: Restart-Condition required after Write-operation or not. Bit 1 - 3.: RFU Bit 4 - 7.: Custom Flags (free to use)I2C: If set, the restart condition should be issued after the write operation.
#define PTX_PLAT_HOST_SPEED_I2C_100000 |
Platform-dependent I2C speeds/bitrates (Attention: Bitrates highly dependent on the target system and might require adaption!)
I2C Standard (100 kHz).
#define PTX_PLAT_HOST_SPEED_I2C_400000 |
I2C Fast-Mode (400 kHz).
#define PTX_PLAT_HOST_SPEED_I2C_1000000 |
I2C Fast-Mode-Plus (up to 1 MHz).
#define PTX_PLAT_HOST_SPEED_I2C_3400000 |
I2C High-Speed-Mode (up to 3.4 MHz).
#define PTX_PLAT_HOST_SPEED_I2C_MAX |
I2C Max. Speed/Bitrate
#define PTX_PLAT_HOST_SPEED_UART_9600 |
Platform-dependent UART speeds/bitrates (Attention: Bitrates highly dependent on the target system and might require adaption!)
UART 9600 Baud.
#define PTX_PLAT_HOST_SPEED_UART_14400 |
UART 14400 Baud.
#define PTX_PLAT_HOST_SPEED_UART_19200 |
UART 19200 Baud.
#define PTX_PLAT_HOST_SPEED_UART_28800 |
UART 28800 Baud.
#define PTX_PLAT_HOST_SPEED_UART_38400 |
UART 38400 Baud.
#define PTX_PLAT_HOST_SPEED_UART_57600 |
UART 57600 Baud.
#define PTX_PLAT_HOST_SPEED_UART_115200 |
UART 115200 Baud.
#define PTX_PLAT_HOST_SPEED_UART_230400 |
UART 230400 Baud.
#define PTX_PLAT_HOST_SPEED_UART_460800 |
UART 460800 Baud.
#define PTX_PLAT_HOST_SPEED_UART_921600 |
UART 921600 Baud.
#define PTX_PLAT_HOST_SPEED_UART_1843200 |
UART 1843200 Baud.
#define PTX_PLAT_HOST_SPEED_UART_3000000 |
UART 3000000 Baud.
#define PTX_PLAT_HOST_SPEED_UART_MAX |
UART Max. Speed/Bitrate
#define PTX_PLAT_HOST_DEFAULT_UART_SPEED |
UART default Speed after reset.
#define PTX_PLAT_HOST_SPEED_SPI_1M |
Platform-dependent SPI speeds/bitrates (Attention: Bitrates highly dependent on the target system and might require adaption!)
SPI 1 MBit/s.
#define PTX_PLAT_HOST_SPEED_SPI_5M |
SPI 5 MBit/s.
#define PTX_PLAT_HOST_SPEED_SPI_10M |
SPI 10 MBit/s.
#define PTX_PLAT_HOST_SPEED_SPI_MAX |
SPI Max. Speed/Bitrate
void ptxPLAT_DisableInterrupts | ( | struct ptxPlat * | plat | ) |
Disable Interrupts.
This is used to disable IRQs from the underlying HW-platform.
[in] | plat | Pointer to an initialized component structure. |
void ptxPLAT_EnableInterrupts | ( | struct ptxPlat * | plat | ) |
Enable Interrupts.
This is used to (re-)enable IRQs from the underlying HW-platform.
[in] | plat | Pointer to an initialized component structure. |
uint8_t ptxPLAT_CheckRxActive | ( | struct ptxPlat * | plat | ) |
Check if PLAT interface reception is taking place at the moment.
[in] | plat | Pointer to an initialized component structure. |