cc2538_gptimer.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Loci Controls Inc.
3  * 2018 HAW Hamburg
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
22 #ifndef CC2538_GPTIMER_H
23 #define CC2538_GPTIMER_H
24 
25 #include <stdint.h>
26 
27 #include "cc2538.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
36 enum {
40 };
41 
45 enum {
49 };
50 
54 typedef struct {
82  cc2538_reg_t RESERVED[981];
84  cc2538_reg_t RESERVED4[15];
86 
87 #ifdef __cplusplus
88 } /* end extern "C" */
89 #endif
90 
91 #endif /* CC2538_GPTIMER_H */
92 
93 /* @} */
GPTIMER component registers.
GPTIMER one-shot mode.
cc2538_reg_t TAPS
GPTIMER Timer A Prescale Snapshot.
cc2538_reg_t TBPV
GPTIMER Timer B Prescale Value.
cc2538_reg_t RESERVED3
Reserved word.
cc2538_reg_t TAV
GPTIMER Timer A Value.
16-bit timer configuration
cc2538_reg_t TAILR
GPTIMER Timer A Interval Load.
cc2538_reg_t TBR
GPTIMER Timer B.
CC2538 MCU interrupt and register definitions.
cc2538_reg_t IMR
GPTIMER Interrupt Mask.
GPTIMER capture mode.
cc2538_reg_t PP
GPTIMER Peripheral Properties.
cc2538_reg_t TAPV
GPTIMER Timer A Prescale Value.
cc2538_reg_t TAMR
GPTIMER Timer A mode.
32-bit real-time clock
cc2538_reg_t TBV
GPTIMER Timer B Value.
cc2538_reg_t TAMATCHR
GPTIMER Timer A Match.
cc2538_reg_t CFG
GPTIMER Configuration.
cc2538_reg_t TBMATCHR
GPTIMER Timer B Match.
cc2538_reg_t ICR
GPTIMER Interrupt Clear.
32-bit timer configuration
cc2538_reg_t TBPMR
GPTIMER Timer B Prescale Match Register.
cc2538_reg_t MIS
GPTIMER Masked Interrupt Status.
cc2538_reg_t TAPR
GPTIMER Timer A Prescale Register.
cc2538_reg_t RESERVED2
Reserved word.
cc2538_reg_t TAR
GPTIMER Timer A.
cc2538_reg_t RIS
GPTIMER Raw Interrupt Status.
GPTIMER periodic mode.
cc2538_reg_t CTL
GPTIMER Control.
cc2538_reg_t TBPR
GPTIMER Timer B Prescale Register.
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
Definition: cc2538.h:124
cc2538_reg_t TAPMR
GPTIMER Timer A Prescale Match Register.
cc2538_reg_t TBMR
GPTIMER Timer B mode.
cc2538_reg_t SYNC
GPTIMER Synchronize.
cc2538_reg_t TBILR
GPTIMER Timer B Interval Load.
cc2538_reg_t TBPS
GPTIMER Timer B Prescale Snapshot.