GPTIMER component registers. More...

Detailed Description

Definition at line 49 of file cc2538_gptimer.h.

#include </tmp/RIOT/cpu/cc2538/include/cc2538_gptimer.h>

Data Fields

cc2538_reg_t CFG
 GPTIMER Configuration.
 
union {
   cc2538_reg_t   TAMR
 GPTIMER Timer A mode.
 
   struct {
      cc2538_reg_t   TAMR2: 2
 GPTM Timer A mode.
 
      cc2538_reg_t   TACMR: 1
 GPTM Timer A capture mode.
 
      cc2538_reg_t   TAAMS: 1
 GPTM Timer A alternate mode.
 
      cc2538_reg_t   TACDIR: 1
 GPTM Timer A count direction.
 
      cc2538_reg_t   TAMIE: 1
 GPTM Timer A match interrupt enable.
 
      cc2538_reg_t   TAWOT: 1
 GPTM Timer A wait-on-trigger.
 
      cc2538_reg_t   TASNAPS: 1
 GPTM Timer A snap shot mode.
 
      cc2538_reg_t   TAILD: 1
 GPTM Timer A interval load write.
 
      cc2538_reg_t   TAPWMIE: 1
 GPTM Timer A PWM interrupt enable.
 
      cc2538_reg_t   TAMRSU: 1
 Timer A match register update mode.
 
      cc2538_reg_t   TAPLO: 1
 Legacy PWM operation.
 
      cc2538_reg_t   RESERVED5: 20
 Reserved bits.
 
   }   TAMRbits
 
cc2538_gptimer_tamr
 Timer A.
 
union {
   cc2538_reg_t   TBMR
 GPTIMER Timer B mode.
 
   struct {
      cc2538_reg_t   TBMR2: 2
 GPTM Timer B mode.
 
      cc2538_reg_t   TBCMR: 1
 GPTM Timer B capture mode.
 
      cc2538_reg_t   TBAMS: 1
 GPTM Timer B alternate mode.
 
      cc2538_reg_t   TBCDIR: 1
 GPTM Timer B count direction.
 
      cc2538_reg_t   TBMIE: 1
 GPTM Timer B match interrupt enable.
 
      cc2538_reg_t   TBWOT: 1
 GPTM Timer B wait-on-trigger.
 
      cc2538_reg_t   TBSNAPS: 1
 GPTM Timer B snap shot mode.
 
      cc2538_reg_t   TBILD: 1
 GPTM Timer B interval load write.
 
      cc2538_reg_t   TBPWMIE: 1
 GPTM Timer B PWM interrupt enable.
 
      cc2538_reg_t   TBMRSU: 1
 Timer B match register update mode.
 
      cc2538_reg_t   TBPLO: 1
 Legacy PWM operation.
 
      cc2538_reg_t   RESERVED6: 20
 Reserved bits.
 
   }   TBMRbits
 
cc2538_gptimer_tbmr
 Timer B.
 
union {
   cc2538_reg_t   CTL
 GPTIMER Control.
 
   struct {
      cc2538_reg_t   TAEN: 1
 GPTM Timer A enable.
 
      cc2538_reg_t   TASTALL: 1
 GPTM Timer A stall enable.
 
      cc2538_reg_t   TAEVENT: 1
 GPTM Timer A event mode.
 
      cc2538_reg_t   RESERVED1: 1
 Reserved bits.
 
      cc2538_reg_t   TAOTE: 1
 GPTM Timer A PWM output trigger enable.
 
      cc2538_reg_t   TAPWML: 1
 GPTM Timer A PWM output level.
 
      cc2538_reg_t   RESERVED2: 1
 Reserved bits.
 
      cc2538_reg_t   TBEN: 1
 GPTM Timer B enable.
 
      cc2538_reg_t   TBSTALL: 1
 GPTM Timer B stall enable.
 
      cc2538_reg_t   TBEVENT: 1
 GPTM Timer B event mode.
 
      cc2538_reg_t   RESERVED3: 1
 Reserved bits.
 
      cc2538_reg_t   TBOTE: 1
 GPTM Timer B PWM output trigger enable.
 
      cc2538_reg_t   TBPWML: 1
 GPTM Timer B PWM output level.
 
      cc2538_reg_t   RESERVED4: 17
 Reserved bits.
 
   }   CTLbits
 
cc2538_gptimer_ctl
 Timer Control.
 
cc2538_reg_t SYNC
 GPTIMER Synchronize.
 
union {
   cc2538_reg_t   IMR
 GPTIMER Interrupt Mask.
 
   struct {
      cc2538_reg_t   TATOIM: 1
 GPTM Timer A time-out interrupt mask.
 
      cc2538_reg_t   CAMIM: 1
 GPTM Timer A capture match interrupt mask.
 
      cc2538_reg_t   CAEIM: 1
 GPTM Timer A capture event interrupt mask.
 
      cc2538_reg_t   RESERVED1: 1
 Reserved bits.
 
      cc2538_reg_t   TAMIM: 1
 GPTM Timer A match interrupt mask.
 
      cc2538_reg_t   RESERVED2: 3
 Reserved bits.
 
      cc2538_reg_t   TBTOIM: 1
 GPTM Timer B time-out interrupt mask.
 
      cc2538_reg_t   CBMIM: 1
 GPTM Timer B capture match interrupt mask.
 
      cc2538_reg_t   CBEIM: 1
 GPTM Timer B capture event interrupt mask.
 
      cc2538_reg_t   TBMIM: 1
 GPTM Timer B match interrupt mask.
 
      cc2538_reg_t   RESERVED3: 20
 Reserved bits.
 
   }   IMRbits
 
cc2538_gptimer_imr
 Interrupt mask control.
 
cc2538_reg_t RIS
 GPTIMER Raw Interrupt Status.
 
cc2538_reg_t MIS
 GPTIMER Masked Interrupt Status.
 
cc2538_reg_t ICR
 GPTIMER Interrupt Clear.
 
cc2538_reg_t TAILR
 GPTIMER Timer A Interval Load.
 
cc2538_reg_t TBILR
 GPTIMER Timer B Interval Load.
 
cc2538_reg_t TAMATCHR
 GPTIMER Timer A Match.
 
cc2538_reg_t TBMATCHR
 GPTIMER Timer B Match.
 
cc2538_reg_t TAPR
 GPTIMER Timer A Prescale Register.
 
cc2538_reg_t TBPR
 GPTIMER Timer B Prescale Register.
 
cc2538_reg_t TAPMR
 GPTIMER Timer A Prescale Match Register.
 
cc2538_reg_t TBPMR
 GPTIMER Timer B Prescale Match Register.
 
cc2538_reg_t TAR
 GPTIMER Timer A.
 
cc2538_reg_t TBR
 GPTIMER Timer B.
 
cc2538_reg_t TAV
 GPTIMER Timer A Value.
 
cc2538_reg_t TBV
 GPTIMER Timer B Value.
 
cc2538_reg_t TAPS
 GPTIMER Timer A Prescale Snapshot.
 
cc2538_reg_t TBPS
 GPTIMER Timer B Prescale Snapshot.
 
cc2538_reg_t TAPV
 GPTIMER Timer A Prescale Value.
 
cc2538_reg_t TBPV
 GPTIMER Timer B Prescale Value.
 
cc2538_reg_t RESERVED [981]
 Reserved.
 
cc2538_reg_t PP
 GPTIMER Peripheral Properties.
 

Field Documentation

cc2538_reg_t cc2538_gptimer_t::RESERVED2

Reserved word.

Definition at line 106 of file cc2538_gptimer.h.

cc2538_reg_t cc2538_gptimer_t::RESERVED3

Reserved word.

Definition at line 110 of file cc2538_gptimer.h.

cc2538_reg_t cc2538_gptimer_t::RESERVED4

Reserved.

Definition at line 113 of file cc2538_gptimer.h.


The documentation for this struct was generated from the following file: