![]() |
S32 SDK
|
#include "lpuart_hal.h"
Go to the source code of this file.
Functions | |
void | LPUART_HAL_Init (LPUART_Type *base) |
Initializes the LPUART controller. More... | |
status_t | LPUART_HAL_SetBaudRate (LPUART_Type *base, uint32_t sourceClockInHz, uint32_t desiredBaudRate) |
Configures the LPUART baud rate. More... | |
void | LPUART_HAL_SetBitCountPerChar (LPUART_Type *base, lpuart_bit_count_per_char_t bitCountPerChar) |
Configures the number of bits per character in the LPUART controller. More... | |
void | LPUART_HAL_SetParityMode (LPUART_Type *base, lpuart_parity_mode_t parityModeType) |
Configures parity mode in the LPUART controller. More... | |
void | LPUART_HAL_Putchar9 (LPUART_Type *base, uint16_t data) |
Sends the LPUART 9-bit character. More... | |
void | LPUART_HAL_Putchar10 (LPUART_Type *base, uint16_t data) |
Sends the LPUART 10-bit character (Note: Feature available on select LPUART instances). More... | |
void | LPUART_HAL_Getchar9 (const LPUART_Type *base, uint16_t *readData) |
Gets the LPUART 9-bit character. More... | |
void | LPUART_HAL_Getchar10 (const LPUART_Type *base, uint16_t *readData) |
Gets the LPUART 10-bit character. More... | |
void | LPUART_HAL_SendDataPolling (LPUART_Type *base, const uint8_t *txBuff, uint32_t txSize) |
Send out multiple bytes of data using polling method. More... | |
status_t | LPUART_HAL_ReceiveDataPolling (LPUART_Type *base, uint8_t *rxBuff, uint32_t rxSize) |
Receive multiple bytes of data using polling method. More... | |
void | LPUART_HAL_SetIntMode (LPUART_Type *base, lpuart_interrupt_t intSrc, bool enable) |
Configures the LPUART module interrupts. More... | |
bool | LPUART_HAL_GetIntMode (const LPUART_Type *base, lpuart_interrupt_t intSrc) |
Returns LPUART module interrupts state. More... | |
void | LPUART_HAL_SetLoopbackCmd (LPUART_Type *base, bool enable) |
Configures the LPUART loopback operation (enable/disable loopback operation) More... | |
void | LPUART_HAL_SetSingleWireCmd (LPUART_Type *base, bool enable) |
Configures the LPUART single-wire operation (enable/disable single-wire mode). More... | |
status_t | LPUART_HAL_SetReceiverInStandbyMode (LPUART_Type *base) |
Places the LPUART receiver in standby mode. More... | |
void | LPUART_HAL_SetIdleLineDetect (LPUART_Type *base, const lpuart_idle_line_config_t *config) |
LPUART idle-line detect operation configuration. More... | |
void | LPUART_HAL_SetMatchAddressReg1 (LPUART_Type *base, bool enable, uint8_t value) |
Configures address match register 1. More... | |
void | LPUART_HAL_SetMatchAddressReg2 (LPUART_Type *base, bool enable, uint8_t value) |
Configures address match register 2. More... | |
bool | LPUART_HAL_GetStatusFlag (const LPUART_Type *base, lpuart_status_flag_t statusFlag) |
LPUART get status flag. More... | |
status_t | LPUART_HAL_ClearStatusFlag (LPUART_Type *base, lpuart_status_flag_t statusFlag) |
LPUART clears an individual status flag. More... | |