TIMER_CFG1
Bit Field |
Read/Write |
Field Name |
Description |
---|---|---|---|
12 |
RW |
CLK_SRC |
Clock source |
10:8 |
RW |
MULTI_COUNT |
Multi-count value |
6:4 |
RW |
GPIO_INT_SRC |
GPIO interrupt source selection |
2 |
RW |
GPIO_INT_MODE |
GPIO interrupt capture mode |
1 |
RW |
GPIO_INT_ENABLE |
GPIO interrupt capture enable |
0 |
RW |
MODE |
Timer mode |
Bit Field |
Field Name |
Value Symbol |
Value Description |
Hex Value |
---|---|---|---|---|
12 |
CLK_SRC |
TIMER_SLOWCLK_DIV32 |
Timer clock source is SLOWCLK divided by 32 |
0x0* |
|
|
TIMER_SLOWCLK_DIV2 |
Timer clock source is SLOWCLK divided by 2 |
0x1 |
10:8 |
MULTI_COUNT |
TIMER_MULTI_COUNT_1 |
Stop on 1st Time-out occurrence and issue an interrupt |
0x0* |
|
|
TIMER_MULTI_COUNT_2 |
Stop on 2nd Time-out occurrence and issue an interrupt |
0x1 |
|
|
TIMER_MULTI_COUNT_3 |
Stop on 3rd Time-out occurrence and issue an interrupt |
0x2 |
|
|
TIMER_MULTI_COUNT_4 |
Stop on 4th Time-out occurrence and issue an interrupt |
0x3 |
|
|
TIMER_MULTI_COUNT_5 |
Stop on 5th Time-out occurrence and issue an interrupt |
0x4 |
|
|
TIMER_MULTI_COUNT_6 |
Stop on 6th Time-out occurrence and issue an interrupt |
0x5 |
|
|
TIMER_MULTI_COUNT_7 |
Stop on 7th Time-out occurrence and issue an interrupt |
0x6 |
|
|
TIMER_MULTI_COUNT_8 |
Stop on 8th Time-out occurrence and issue an interrupt |
0x7 |
6:4 |
GPIO_INT_SRC |
TIMER_SRC_GPIO_INT0 |
Select GPIO interrupt defined in GPIO_INT_CFG0 |
0x0* |
|
|
TIMER_SRC_GPIO_INT1 |
Select GPIO interrupt defined in GPIO_INT_CFG1 |
0x1 |
|
|
TIMER_SRC_GPIO_INT2 |
Select GPIO interrupt defined in GPIO_INT_CFG2 |
0x2 |
|
|
TIMER_SRC_GPIO_INT3 |
Select GPIO interrupt defined in GPIO_INT_CFG3 |
0x3 |
2 |
GPIO_INT_MODE |
TIMER_GPIO_INT_SINGLE |
GPIO interrupt single capture mode |
0x0* |
|
|
TIMER_GPIO_INT_CONTINUOUS |
GPIO interrupt continuous capture mode |
0x1 |
1 |
GPIO_INT_ENABLE |
TIMER_GPIO_INT_DISABLE |
Disable GPIO interrupt capture |
0x0* |
|
|
TIMER_GPIO_INT_ENABLE |
Enable GPIO interrupt capture |
0x1 |
0 |
MODE |
TIMER_SHOT_MODE |
One shot / multi shot mode |
0x0* |
|
|
TIMER_FREE_RUN |
Free-run mode |
0x1 |