Files | |
| file | cc2538_gptimer.h |
| CC2538 General Purpose Timer (GPTIMER) driver. | |
Data Structures | |
| struct | cc2538_gptimer_t |
| GPTIMER component registers. More... | |
Enumerations | |
| enum | { GPTIMER_ONE_SHOT_MODE = 1 , GPTIMER_PERIODIC_MODE = 2 , GPTIMER_CAPTURE_MODE = 3 } |
| Timer modes. More... | |
| enum | { GPTMCFG_32_BIT_TIMER = 0 , GPTMCFG_32_BIT_REAL_TIME_CLOCK = 1 , GPTMCFG_16_BIT_TIMER = 4 } |
| Timer width configuration. More... | |
| anonymous enum |
Timer modes.
| Enumerator | |
|---|---|
| GPTIMER_ONE_SHOT_MODE | GPTIMER one-shot mode. |
| GPTIMER_PERIODIC_MODE | GPTIMER periodic mode. |
| GPTIMER_CAPTURE_MODE | GPTIMER capture mode. |
Definition at line 32 of file cc2538_gptimer.h.
| anonymous enum |
Timer width configuration.
| Enumerator | |
|---|---|
| GPTMCFG_32_BIT_TIMER | 32-bit timer configuration |
| GPTMCFG_32_BIT_REAL_TIME_CLOCK | 32-bit real-time clock |
| GPTMCFG_16_BIT_TIMER | 16-bit timer configuration |
Definition at line 41 of file cc2538_gptimer.h.