![]() |
S32 SDK
|
Go to the source code of this file.
Functions | |
LPTMR HAL Functions | |
void | LPTMR_HAL_Init (LPTMR_Type *const base) |
Initialize the LPTMR instance to reset values. More... | |
static bool | LPTMR_HAL_GetDmaRequest (const LPTMR_Type *const base) |
Get the DMA Request Enable Flag. More... | |
static void | LPTMR_HAL_SetDmaRequest (LPTMR_Type *const base, bool enable) |
Configure the DMA Request Enable Flag state. More... | |
static bool | LPTMR_HAL_GetCompareFlag (const LPTMR_Type *const base) |
Get the Compare Flag state. More... | |
static void | LPTMR_HAL_ClearCompareFlag (LPTMR_Type *const base) |
Clear the Compare Flag. More... | |
static bool | LPTMR_HAL_GetInterruptEnable (const LPTMR_Type *const base) |
Get the Interrupt Enable state. More... | |
static void | LPTMR_HAL_SetInterrupt (LPTMR_Type *const base, bool enable) |
Configure the Interrupt Enable state. More... | |
static lptmr_pinselect_t | LPTMR_HAL_GetPinSelect (const LPTMR_Type *const base) |
Get the Pin select for Counter Mode. More... | |
static void | LPTMR_HAL_SetPinSelect (LPTMR_Type *const base, const lptmr_pinselect_t pinsel) |
Configure the Pin selection for Pulse Counter Mode. More... | |
static lptmr_pinpolarity_t | LPTMR_HAL_GetPinPolarity (const LPTMR_Type *const base) |
Get Pin Polarity for Pulse Counter Mode. More... | |
static void | LPTMR_HAL_SetPinPolarity (LPTMR_Type *const base, const lptmr_pinpolarity_t pol) |
Configure Pin Polarity for Pulse Counter Mode. More... | |
static bool | LPTMR_HAL_GetFreeRunning (const LPTMR_Type *const base) |
Get the Free Running state. More... | |
static void | LPTMR_HAL_SetFreeRunning (LPTMR_Type *const base, const bool enable) |
Configure the Free Running state. More... | |
static lptmr_workmode_t | LPTMR_HAL_GetWorkMode (const LPTMR_Type *const base) |
Get current Work Mode. More... | |
static void | LPTMR_HAL_SetWorkMode (LPTMR_Type *const base, const lptmr_workmode_t mode) |
Configure the Work Mode. More... | |
static bool | LPTMR_HAL_GetEnable (const LPTMR_Type *const base) |
Get the Enable state. More... | |
static void | LPTMR_HAL_Enable (LPTMR_Type *const base) |
Enable the LPTMR. More... | |
static void | LPTMR_HAL_Disable (LPTMR_Type *const base) |
Disable the LPTMR. More... | |
static lptmr_prescaler_t | LPTMR_HAL_GetPrescaler (const LPTMR_Type *const base) |
Get Prescaler/Glitch Filter divider value. More... | |
static void | LPTMR_HAL_SetPrescaler (LPTMR_Type *const base, const lptmr_prescaler_t presc) |
Configure the Prescaler/Glitch Filter divider value. More... | |
static bool | LPTMR_HAL_GetBypass (const LPTMR_Type *const base) |
Get the Prescaler/Glitch Filter Bypass enable state. More... | |
static void | LPTMR_HAL_SetBypass (LPTMR_Type *const base, const bool enable) |
Configure the Prescaler/Glitch Filter Bypass enable state. More... | |
static lptmr_clocksource_t | LPTMR_HAL_GetClockSelect (const LPTMR_Type *const base) |
Get the LPTMR input Clock selection. More... | |
static void | LPTMR_HAL_SetClockSelect (LPTMR_Type *const base, const lptmr_clocksource_t clocksel) |
Configure the LPTMR input Clock selection. More... | |
static uint16_t | LPTMR_HAL_GetCompareValue (const LPTMR_Type *const base) |
Get the Compare Value. More... | |
static void | LPTMR_HAL_SetCompareValue (LPTMR_Type *const base, const uint16_t compval) |
Configure the Compare Value. More... | |
static uint16_t | LPTMR_HAL_GetCounterValue (LPTMR_Type *const base) |
Get the current Counter Value. More... | |