Functions | |
uint32_t | Cy_LF_GetCount (void *hwContext) |
This function returns the current LF counter value. More... | |
void | Cy_LF_MaskInterrupt (void *hwContext) |
This function masks the interrupts from the LF counter. More... | |
void | Cy_LF_UnmaskInterrupt (void *hwContext) |
This function unmasks the interrupts from the LF counter. More... | |
void | Cy_LF_SetMatch (void *hwContext, uint32_t match) |
Configures the LF counter match comparison value. More... | |
uint32_t | Cy_LF_GetIgnoreBits (void *hwContext) |
This function reads the number of the most significant bits of the LF counter that are not checked against the match value. More... | |
void | Cy_LF_ClearInterrupt (void *hwContext) |
This function clears the LF counter interrupt. More... | |
uint32_t | Cy_LF_GetMatch (void *hwContext) |
This function reads the LF counter match comparison value. More... | |
uint32_t Cy_LF_GetCount | ( | void * | hwContext | ) |
This function returns the current LF counter value.
hwContext | Pointer to the context structure of the LF counter hardware block. |
void Cy_LF_MaskInterrupt | ( | void * | hwContext | ) |
This function masks the interrupts from the LF counter.
After masking interrupts, they are not passed to the CPU.
hwContext | Pointer to the context structure of the LF counter hardware block. |
void Cy_LF_UnmaskInterrupt | ( | void * | hwContext | ) |
This function unmasks the interrupts from the LF counter.
After unmasking interrupts, they are passed to the CPU.
hwContext | Pointer to the context structure of the LF counter hardware block. |
void Cy_LF_SetMatch | ( | void * | hwContext, |
uint32_t | match | ||
) |
Configures the LF counter match comparison value.
hwContext | Pointer to the context structure of the LF counter hardware block. |
match | The valid range is [0-65535]. The value to be used to match against the counter. |
uint32_t Cy_LF_GetIgnoreBits | ( | void * | hwContext | ) |
This function reads the number of the most significant bits of the LF counter that are not checked against the match value.
hwContext | Pointer to the context structure of the LF counter hardware block. |
void Cy_LF_ClearInterrupt | ( | void * | hwContext | ) |
This function clears the LF counter interrupt.
hwContext | Pointer to the context structure of the LF counter hardware block. |
uint32_t Cy_LF_GetMatch | ( | void * | hwContext | ) |
This function reads the LF counter match comparison value.
hwContext | Pointer to the context structure of the LF counter hardware block. |