![]() |
Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
|
Go to the source code of this file.
Timer20/Timer21 low level access library.
Functions | |
sint8 | T20_init (void) |
Initialize all CW registers of the timer 20. More... | |
sint8 | T21_init (void) |
Initialize all CW registers of the timer 21. More... | |
sint8 | T20_setIntervalTimer (uint32 u32_timeInterval_us) |
Define an interval timer with the timer T20. More... | |
sint8 | T21_setIntervalTimer (uint32 u32_timeInterval_us) |
Define an interval timer with the timer T21. More... | |
INLINE void | T20_start (void) |
Start T20. More... | |
INLINE void | T20_stop (void) |
Stop T20. More... | |
INLINE void | T21_start (void) |
Start T21. More... | |
INLINE void | T21_stop (void) |
Stop T21. More... | |
INLINE uint16 | T20_getCntVal (void) |
Get T20 Count Value T20.CNT. More... | |
INLINE uint16 | T21_getCntVal (void) |
Get T21 Count Value T21.CNT. More... | |
INLINE uint16 | T20_getCapRelVal (void) |
Get T20 Capture/Reload Value T20.RC. More... | |
INLINE uint16 | T21_getCapRelVal (void) |
Get T21 Capture/Reload Value T21.RC. More... | |
INLINE void | T20_setCntVal (uint16 u16_cntVal) |
Set T20 Count Value T20.CNT. More... | |
INLINE void | T21_setCntVal (uint16 u16_cntVal) |
Set T21 Count Value T21.CNT. More... | |
INLINE void | T20_setRelCaptVal (uint16 u16_relCaptVal) |
Set T20 Reload/Capture Value T20.RC. More... | |
INLINE void | T21_setRelCaptVal (uint16 u16_relCaptVal) |
Set T21 Reload/Capture Value T21.RC. More... | |
INLINE uint8 | T20_getOverUnderflowSts (void) |
Get T20 Overflow/Underflow Status T20.CON.TF2. More... | |
INLINE uint8 | T20_getExternalSts (void) |
Get T20 External Status T20.CON.EXF2. More... | |
INLINE uint8 | T21_getOverUnderflowSts (void) |
Get T21 Overflow/Underflow Status T21.CON.TF2. More... | |
INLINE uint8 | T21_getExternalSts (void) |
Get T21 External Status T21.CON.EXF2. More... | |
INLINE void | T20_clrOverUnderflowSts (void) |
Clear T20 Overflow/Underflow Status T20.ICLR.TF2CLR. More... | |
INLINE void | T20_clrExternalSts (void) |
Clear T20 External Status T20.ICLR.EXF2CLR. More... | |
INLINE void | T21_clrOverUnderflowSts (void) |
Clear T21 Overflow/Underflow Status T21.ICLR.TF2CLR. More... | |
INLINE void | T21_clrExternalSts (void) |
Clear T21 External Status T21.ICLR.EXF2CLR. More... | |