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 /* @} */
cc2538_gptimer_t::CFG
cc2538_reg_t CFG
GPTIMER Configuration.
Definition: cc2538_gptimer.h:55
cc2538_gptimer_t::CTL
cc2538_reg_t CTL
GPTIMER Control.
Definition: cc2538_gptimer.h:58
cc2538_gptimer_t::TBMATCHR
cc2538_reg_t TBMATCHR
GPTIMER Timer B Match.
Definition: cc2538_gptimer.h:68
cc2538_gptimer_t::TAR
cc2538_reg_t TAR
GPTIMER Timer A.
Definition: cc2538_gptimer.h:73
cc2538_gptimer_t::TAMR
cc2538_reg_t TAMR
GPTIMER Timer A mode.
Definition: cc2538_gptimer.h:56
cc2538_gptimer_t::RIS
cc2538_reg_t RIS
GPTIMER Raw Interrupt Status.
Definition: cc2538_gptimer.h:62
cc2538_gptimer_t::RESERVED3
cc2538_reg_t RESERVED3
Reserved word.
Definition: cc2538_gptimer.h:77
GPTIMER_CAPTURE_MODE
@ GPTIMER_CAPTURE_MODE
GPTIMER capture mode.
Definition: cc2538_gptimer.h:39
cc2538_gptimer_t::ICR
cc2538_reg_t ICR
GPTIMER Interrupt Clear.
Definition: cc2538_gptimer.h:64
cc2538_gptimer_t::PP
cc2538_reg_t PP
GPTIMER Peripheral Properties.
Definition: cc2538_gptimer.h:83
cc2538_gptimer_t::TAILR
cc2538_reg_t TAILR
GPTIMER Timer A Interval Load.
Definition: cc2538_gptimer.h:65
cc2538_gptimer_t::TBPMR
cc2538_reg_t TBPMR
GPTIMER Timer B Prescale Match Register.
Definition: cc2538_gptimer.h:72
GPTIMER_ONE_SHOT_MODE
@ GPTIMER_ONE_SHOT_MODE
GPTIMER one-shot mode.
Definition: cc2538_gptimer.h:37
cc2538_gptimer_t::TBV
cc2538_reg_t TBV
GPTIMER Timer B Value.
Definition: cc2538_gptimer.h:76
GPTMCFG_32_BIT_REAL_TIME_CLOCK
@ GPTMCFG_32_BIT_REAL_TIME_CLOCK
32-bit real-time clock
Definition: cc2538_gptimer.h:47
cc2538_gptimer_t::TAPV
cc2538_reg_t TAPV
GPTIMER Timer A Prescale Value.
Definition: cc2538_gptimer.h:80
cc2538_gptimer_t
GPTIMER component registers.
Definition: cc2538_gptimer.h:54
cc2538_reg_t
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
Definition: cc2538.h:124
cc2538_gptimer_t::TAPMR
cc2538_reg_t TAPMR
GPTIMER Timer A Prescale Match Register.
Definition: cc2538_gptimer.h:71
cc2538_gptimer_t::TBR
cc2538_reg_t TBR
GPTIMER Timer B.
Definition: cc2538_gptimer.h:74
cc2538_gptimer_t::TBPS
cc2538_reg_t TBPS
GPTIMER Timer B Prescale Snapshot.
Definition: cc2538_gptimer.h:79
GPTMCFG_16_BIT_TIMER
@ GPTMCFG_16_BIT_TIMER
16-bit timer configuration
Definition: cc2538_gptimer.h:48
cc2538_gptimer_t::TBPV
cc2538_reg_t TBPV
GPTIMER Timer B Prescale Value.
Definition: cc2538_gptimer.h:81
cc2538.h
CC2538 MCU interrupt and register definitions.
cc2538_gptimer_t::SYNC
cc2538_reg_t SYNC
GPTIMER Synchronize.
Definition: cc2538_gptimer.h:59
cc2538_gptimer_t::TBPR
cc2538_reg_t TBPR
GPTIMER Timer B Prescale Register.
Definition: cc2538_gptimer.h:70
cc2538_gptimer_t::TAPS
cc2538_reg_t TAPS
GPTIMER Timer A Prescale Snapshot.
Definition: cc2538_gptimer.h:78
cc2538_gptimer_t::TAV
cc2538_reg_t TAV
GPTIMER Timer A Value.
Definition: cc2538_gptimer.h:75
cc2538_gptimer_t::TAMATCHR
cc2538_reg_t TAMATCHR
GPTIMER Timer A Match.
Definition: cc2538_gptimer.h:67
cc2538_gptimer_t::RESERVED2
cc2538_reg_t RESERVED2
Reserved word.
Definition: cc2538_gptimer.h:60
GPTIMER_PERIODIC_MODE
@ GPTIMER_PERIODIC_MODE
GPTIMER periodic mode.
Definition: cc2538_gptimer.h:38
cc2538_gptimer_t::TBMR
cc2538_reg_t TBMR
GPTIMER Timer B mode.
Definition: cc2538_gptimer.h:57
cc2538_gptimer_t::TBILR
cc2538_reg_t TBILR
GPTIMER Timer B Interval Load.
Definition: cc2538_gptimer.h:66
cc2538_gptimer_t::TAPR
cc2538_reg_t TAPR
GPTIMER Timer A Prescale Register.
Definition: cc2538_gptimer.h:69
cc2538_gptimer_t::MIS
cc2538_reg_t MIS
GPTIMER Masked Interrupt Status.
Definition: cc2538_gptimer.h:63
GPTMCFG_32_BIT_TIMER
@ GPTMCFG_32_BIT_TIMER
32-bit timer configuration
Definition: cc2538_gptimer.h:46
cc2538_gptimer_t::IMR
cc2538_reg_t IMR
GPTIMER Interrupt Mask.
Definition: cc2538_gptimer.h:61