CC2538 General Purpose Timer¶
-
enum
@11
¶ - GPTIMER_ONE_SHOT_MODE
= 1
- GPTIMER one-shot mode.
- GPTIMER_PERIODIC_MODE
= 2
- GPTIMER periodic mode.
- GPTIMER_CAPTURE_MODE
= 3
- GPTIMER capture mode.
- GPTIMER_ONE_SHOT_MODE
-
enum
@12
¶ - GPTMCFG_32_BIT_TIMER
= 0
- 32-bit timer configuration
- GPTMCFG_32_BIT_REAL_TIME_CLOCK
= 1
- 32-bit real-time clock
- GPTMCFG_16_BIT_TIMER
= 4
- 16-bit timer configuration
- GPTMCFG_32_BIT_TIMER
-
struct
cc2538_gptimer_t
¶ GPTIMER component registers.
-
cc2538.h::cc2538_reg_t
CFG
¶ GPTIMER Configuration.
-
cc2538.h::cc2538_reg_t
TAMR
¶ GPTIMER Timer A mode.
-
cc2538.h::cc2538_reg_t
TBMR
¶ GPTIMER Timer B mode.
-
cc2538.h::cc2538_reg_t
CTL
¶ GPTIMER Control.
-
cc2538.h::cc2538_reg_t
SYNC
¶ GPTIMER Synchronize.
-
cc2538.h::cc2538_reg_t
RESERVED2
¶ Reserved word.
-
cc2538.h::cc2538_reg_t
IMR
¶ GPTIMER Interrupt Mask.
-
cc2538.h::cc2538_reg_t
RIS
¶ GPTIMER Raw Interrupt Status.
-
cc2538.h::cc2538_reg_t
MIS
¶ GPTIMER Masked Interrupt Status.
-
cc2538.h::cc2538_reg_t
ICR
¶ GPTIMER Interrupt Clear.
-
cc2538.h::cc2538_reg_t
TAILR
¶ GPTIMER Timer A Interval Load.
-
cc2538.h::cc2538_reg_t
TBILR
¶ GPTIMER Timer B Interval Load.
-
cc2538.h::cc2538_reg_t
TAMATCHR
¶ GPTIMER Timer A Match.
-
cc2538.h::cc2538_reg_t
TBMATCHR
¶ GPTIMER Timer B Match.
-
cc2538.h::cc2538_reg_t
TAPR
¶ GPTIMER Timer A Prescale Register.
-
cc2538.h::cc2538_reg_t
TBPR
¶ GPTIMER Timer B Prescale Register.
-
cc2538.h::cc2538_reg_t
TAPMR
¶ GPTIMER Timer A Prescale Match Register.
-
cc2538.h::cc2538_reg_t
TBPMR
¶ GPTIMER Timer B Prescale Match Register.
-
cc2538.h::cc2538_reg_t
TAR
¶ GPTIMER Timer A.
-
cc2538.h::cc2538_reg_t
TBR
¶ GPTIMER Timer B.
-
cc2538.h::cc2538_reg_t
TAV
¶ GPTIMER Timer A Value.
-
cc2538.h::cc2538_reg_t
TBV
¶ GPTIMER Timer B Value.
-
cc2538.h::cc2538_reg_t
RESERVED3
¶ Reserved word.
-
cc2538.h::cc2538_reg_t
TAPS
¶ GPTIMER Timer A Prescale Snapshot.
-
cc2538.h::cc2538_reg_t
TBPS
¶ GPTIMER Timer B Prescale Snapshot.
-
cc2538.h::cc2538_reg_t
TAPV
¶ GPTIMER Timer A Prescale Value.
-
cc2538.h::cc2538_reg_t
TBPV
¶ GPTIMER Timer B Prescale Value.
-
cc2538.h::cc2538_reg_t
RESERVED
()¶ Reserved.
-
cc2538.h::cc2538_reg_t
PP
¶ GPTIMER Peripheral Properties.
-
cc2538.h::cc2538_reg_t
RESERVED4
()¶ Reserved.
-