function | function-like macro | number | |
---|---|---|---|
[SCU] | |||
Timer 0 interrupt enable | TIM_T0_ENABLE | 1 | |
Timer 0 interrupt disabled | TIM_T0_DISABLE | 2 | |
Timer 1 interrupt enable | TIM_T1_ENABLE | 3 | |
Timer 1 interrupt disabled | TIM_T1_DISABLE | 4 | |
Timer 0 compare register setting | TIM_T0_SET_CMP | 5 | |
Timer 1 set data register setting | TIM_T1_SET_DATA | 6 | |
Timer 1 mode register setting | TIM_T1_SET_MODE | 7 | |
[CPU] | |||
FRT initialization | TIM_FRT_INIT | 8 | |
Counter value setting (16 bits) | TIM_FRT_SET_16 | 9 | |
Counter value acquisition (16 bit) | TIM_FRT_GET_16 | 10 | |
Wait for time (16 bit) | TIM_FRT_DELAY_16 | 11 | |
Counter value → microsecond conversion | TIM_FRT_CNT_TO_MCR | 12 | |
Microsecond → counter value conversion | TIM_FRT_MCR_TO_CNT | 13 | |
Timer interrupt enable register setting | TIM_FRT_SET_TIER | 14 | |
Timer control/status register setting | TIM_FRT_SET_TCSR | 15 | |
Free running counter settings | TIM_FRT_SET_FRC | 16 | |
Output compare register A setting | TIM_FRT_SET_OCRA | 17 | |
Output compare register B setting | TIM_FRT_SET_OCRB | 18 | |
Timer control register setting | TIM_FRT_SET_TCR | 19 | |
Timer output compare control register setting | TIM_FRT_SET_TOCR | 20 | |
Get timer interrupt enable register | TIM_FRT_GET_TIER | 21 | |
Timer control/status register acquisition | TIM_FRT_GET_TCSR | 22 | |
Get free running counter | TIM_FRT_GET_FRC | 23 | |
Get output compare register A | TIM_FRT_GET_OCRA | 24 | |
Get output compare register B | TIM_FRT_GET_OCRB | 25 | |
Get timer control register | TIM_FRT_GET_TCR | 26 | |
Get timer output compare control register | TIM_FRT_GET_TOCR | 27 | |
Get input capture register A | TIM_FRT_GET_ICRA | 28 |