![]() |
MAX32665 SDK Documentation
0.2
Software Development Kit Overview and API Documentation
|
Modules | |
HTMR_Registers | |
Registers, Bit Masks and Bit Positions for the HTMR Peripheral Module. | |
Functions | |
int | HTMR_EnableLongIntInterrupt (mxc_htmr_regs_t *htmr) |
Enables Long Interval Counter's Alarm Interrupt. More... | |
int | HTMR_DisableLongIntInterrupt (mxc_htmr_regs_t *htmr) |
Disable Long Interval Counter's Alarm Interrupt. More... | |
int | HTMR_EnableShortIntInterrupt (mxc_htmr_regs_t *htmr) |
Enables Short Interval Counter's Alarm Interrupt. More... | |
int | HTMR_DisableShortIntInterrupt (mxc_htmr_regs_t *htmr) |
Disable Short Interval's Alarm Interrupt. More... | |
int | HTMR_SetLongIntAlarm (mxc_htmr_regs_t *htmr, uint32_t ras) |
Set Long Interval alarm value and enable Interrupt. More... | |
int | HTMR_SetShortIntAlarm (mxc_htmr_regs_t *htmr, uint32_t rssa) |
Set Short Interval alarm value and enable interrupt,. More... | |
int | HTMR_Enable (mxc_htmr_regs_t *htmr) |
Enable/Start the High Speed Timer. More... | |
int | HTMR_Disable (mxc_htmr_regs_t *htmr) |
Disable/Stop the High Speed Timer. More... | |
int | HTMR_Init (mxc_htmr_regs_t *htmr, uint32_t sec, uint8_t ssec, sys_cfg_htmr_t *sys_cfg) |
Initialize the sec and ssec registers and enable HTMR. More... | |
int | HTMR_CheckBusy (mxc_htmr_regs_t *htmr) |
Check if BUSY bit is 0. More... | |
int | HTMR_GetFlags (mxc_htmr_regs_t *htmr) |
Gets Interrupt flags. More... | |
int | HTMR_ClearFlags (mxc_htmr_regs_t *htmr, int flags) |
Clear Interrupt flag. More... | |
int | HTMR_GetShortCount (mxc_htmr_regs_t *htmr) |
Gets value in short interval register. More... | |
int | HTMR_GetLongCount (mxc_htmr_regs_t *htmr) |
Gets value in long interval register. More... | |
int HTMR_EnableLongIntInterrupt | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_DisableLongIntInterrupt | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_EnableShortIntInterrupt | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_DisableShortIntInterrupt | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_SetLongIntAlarm | ( | mxc_htmr_regs_t * | htmr, |
uint32_t | ras | ||
) |
htmr | pointer to the htmr register structure |
ras | 20-bit value 0-0xFFFFF |
int HTMR_SetShortIntAlarm | ( | mxc_htmr_regs_t * | htmr, |
uint32_t | rssa | ||
) |
int HTMR_Enable | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_Disable | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_Init | ( | mxc_htmr_regs_t * | htmr, |
uint32_t | sec, | ||
uint8_t | ssec, | ||
sys_cfg_htmr_t * | sys_cfg | ||
) |
htmr | pointer to the htmr register structure |
sec | set the HTMR long counter (32-bit) |
ssec | set the HTMR short counter (8-bit) |
sys_cfg | System configuration object |
int HTMR_CheckBusy | ( | mxc_htmr_regs_t * | htmr | ) |
int HTMR_GetFlags | ( | mxc_htmr_regs_t * | htmr | ) |
htmr | pointer to the htmr register structure |
int HTMR_ClearFlags | ( | mxc_htmr_regs_t * | htmr, |
int | flags | ||
) |
htmr | pointer to the htmr register structure |
flags | the flags that need to be cleared |
int HTMR_GetShortCount | ( | mxc_htmr_regs_t * | htmr | ) |
htmr | pointer to the htmr register structure |
int HTMR_GetLongCount | ( | mxc_htmr_regs_t * | htmr | ) |
htmr | pointer to the htmr register structure |