cc2538_gptimer.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2014 Loci Controls Inc.
3  * SPDX-FileCopyrightText: 2018 HAW Hamburg
4  * SPDX-License-Identifier: LGPL-2.1-only
5  */
6 
7 #pragma once
8 
21 #include <stdint.h>
22 
23 #include "cc2538.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 enum {
36 };
37 
41 enum {
45 };
46 
50 typedef struct {
78  cc2538_reg_t RESERVED[981];
80  cc2538_reg_t RESERVED4[15];
82 
83 #ifdef __cplusplus
84 } /* end extern "C" */
85 #endif
86 
CC2538 MCU interrupt and register definitions.
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
Definition: cc2538.h:120
@ 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.