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 */
CC2538 MCU interrupt and register definitions.
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
Definition: cc2538.h:124
@ GPTIMER_CAPTURE_MODE
GPTIMER capture mode.
@ GPTIMER_ONE_SHOT_MODE
GPTIMER one-shot mode.
@ GPTIMER_PERIODIC_MODE
GPTIMER periodic mode.
@ 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
GPTIMER component registers.
cc2538_reg_t TAILR
GPTIMER Timer A Interval Load.
cc2538_reg_t CTL
GPTIMER Control.
cc2538_reg_t TBV
GPTIMER Timer B Value.
cc2538_reg_t TAV
GPTIMER Timer A Value.
cc2538_reg_t ICR
GPTIMER Interrupt Clear.
cc2538_reg_t TAMR
GPTIMER Timer A mode.
cc2538_reg_t TBPMR
GPTIMER Timer B Prescale Match Register.
cc2538_reg_t TBPS
GPTIMER Timer B Prescale Snapshot.
cc2538_reg_t TBILR
GPTIMER Timer B Interval Load.
cc2538_reg_t TBMATCHR
GPTIMER Timer B Match.
cc2538_reg_t PP
GPTIMER Peripheral Properties.
cc2538_reg_t RIS
GPTIMER Raw Interrupt Status.
cc2538_reg_t RESERVED2
Reserved word.
cc2538_reg_t TBPV
GPTIMER Timer B Prescale Value.
cc2538_reg_t TAR
GPTIMER Timer A.
cc2538_reg_t TAMATCHR
GPTIMER Timer A Match.
cc2538_reg_t TAPV
GPTIMER Timer A Prescale Value.
cc2538_reg_t TAPR
GPTIMER Timer A Prescale Register.
cc2538_reg_t TBMR
GPTIMER Timer B mode.
cc2538_reg_t SYNC
GPTIMER Synchronize.
cc2538_reg_t TBR
GPTIMER Timer B.
cc2538_reg_t TBPR
GPTIMER Timer B Prescale Register.
cc2538_reg_t IMR
GPTIMER Interrupt Mask.
cc2538_reg_t CFG
GPTIMER Configuration.
cc2538_reg_t TAPS
GPTIMER Timer A Prescale Snapshot.
cc2538_reg_t MIS
GPTIMER Masked Interrupt Status.
cc2538_reg_t TAPMR
GPTIMER Timer A Prescale Match Register.
cc2538_reg_t RESERVED3
Reserved word.