![]() |
TLE986x Device Family SDK
|
Go to the source code of this file.
High Voltage Monitor Input low level access library.
Macros | |
#define | MON_STATUS_LOW (0U) |
MON Status Flag mask, MON LOW STATUS. More... | |
#define | MON_STATUS_HIGH (1U) |
MON Status Flag mask, MON HIGH STATUS. More... | |
Functions | |
INLINE void | MON_Rising_Edge_Int_Clr (void) |
clears MON on rising edge interrupt flag. More... | |
INLINE void | MON_Falling_Edge_Int_Clr (void) |
clears MON on falling edge interrupt flag. More... | |
INLINE void | MON_Rising_Edge_Int_En (void) |
enables MON on rising edge interrupt. More... | |
INLINE void | MON_Rising_Edge_Int_Dis (void) |
disables MON on rising edge interrupt. More... | |
INLINE void | MON_Falling_Edge_Int_En (void) |
enables MON on falling edge interrupt. More... | |
INLINE void | MON_Falling_Edge_Int_Dis (void) |
disables MON on falling edge interrupt. More... | |
INLINE uint8 | MON_Sts (void) |
reads MON Status. More... | |
INLINE void | MON_PullUp_En (void) |
enables PullUp for MON. More... | |
INLINE void | MON_PullUp_Dis (void) |
disables PullUp for MON. More... | |
INLINE void | MON_PullDown_En (void) |
enables PullDown for MON. More... | |
INLINE void | MON_PullDown_Dis (void) |
disables PullDown for MON. More... | |
INLINE void | MON_CycSense_En (void) |
enables Cycle Sense for MON. More... | |
INLINE void | MON_CycSense_Dis (void) |
disables Cycle Sense for MON. More... | |
INLINE void | MON_WakeOnRise_En (void) |
enables Wake-up on Rising Edge for MON. More... | |
INLINE void | MON_WakeOnRise_Dis (void) |
disables Wake-up on Rising Edge for MON. More... | |
INLINE void | MON_WakeOnFall_En (void) |
enables Wake-up on Falling Edge for MON. More... | |
INLINE void | MON_WakeOnFall_Dis (void) |
disables Wake-up on Falling Edge for MON. More... | |
INLINE void | MON_En (void) |
enables MON. More... | |
INLINE void | MON_Dis (void) |
disables MON. More... | |
INLINE uint8 | MON_Get_Status (void) |
Reads out the MON Status. More... | |
void | MON_Init (void) |
Initializes the MON module. More... | |
uint8 | MON_Debounce (uint8 MonActiveState) |
Debounces the MON input and reads the logical input value. More... | |
#define MON_STATUS_HIGH (1U) |
MON Status Flag mask, MON HIGH STATUS.
#define MON_STATUS_LOW (0U) |
MON Status Flag mask, MON LOW STATUS.
INLINE void MON_CycSense_Dis | ( | void | ) |
disables Cycle Sense for MON.
Example
This example disables Cycle Sense for MON.
INLINE void MON_CycSense_En | ( | void | ) |
enables Cycle Sense for MON.
Example
This example enables Cycle Sense for MON.
Debounces the MON input and reads the logical input value.
MonActiveState | expected active state of the MON input |
Example
This example Debounces the MON input to Low Level and reads the logical input value.
INLINE void MON_Dis | ( | void | ) |
INLINE void MON_En | ( | void | ) |
enables MON.
Example
This example enables Wake-up on Falling Edge for MON.
INLINE void MON_Falling_Edge_Int_Clr | ( | void | ) |
clears MON on falling edge interrupt flag.
Example
This example treats the MON on falling edge interrupt.
INLINE void MON_Falling_Edge_Int_Dis | ( | void | ) |
disables MON on falling edge interrupt.
Example
This example treats the MON on falling edge interrupt.
INLINE void MON_Falling_Edge_Int_En | ( | void | ) |
enables MON on falling edge interrupt.
Example
This example treats the MON on falling edge interrupt.
Reads out the MON Status.
Example
This example reads MON Status.
void MON_Init | ( | void | ) |
Initializes the MON module.
INLINE void MON_PullDown_Dis | ( | void | ) |
disables PullDown for MON.
Example
This example disables PullDown for MON.
INLINE void MON_PullDown_En | ( | void | ) |
enables PullDown for MON.
Example
This example enables PullDown for MON.
INLINE void MON_PullUp_Dis | ( | void | ) |
disables PullUp for MON.
Example
This example disables PullUp for MON.
INLINE void MON_PullUp_En | ( | void | ) |
enables PullUp for MON.
Example
This example enables PullUp for MON.
INLINE void MON_Rising_Edge_Int_Clr | ( | void | ) |
clears MON on rising edge interrupt flag.
Example
This example treats the MON on rising edge interrupt.
INLINE void MON_Rising_Edge_Int_Dis | ( | void | ) |
disables MON on rising edge interrupt.
Example
This example treats the MON on rising edge interrupt.
INLINE void MON_Rising_Edge_Int_En | ( | void | ) |
enables MON on rising edge interrupt.
Example
This example treats the MON on rising edge interrupt.
INLINE void MON_WakeOnFall_Dis | ( | void | ) |
disables Wake-up on Falling Edge for MON.
Example
This example disables Wake-up on Falling Edge for MON.
INLINE void MON_WakeOnFall_En | ( | void | ) |
enables Wake-up on Falling Edge for MON.
Example
This example enables Wake-up on Falling Edge for MON.
INLINE void MON_WakeOnRise_Dis | ( | void | ) |
disables Wake-up on Rising Edge for MON.
Example
This example disables Wake-up on Rising Edge for MON.
INLINE void MON_WakeOnRise_En | ( | void | ) |
enables Wake-up on Rising Edge for MON.
Example
This example enables Wake-up on Rising Edge for MON.