cc26xx_cc13xx_adi.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Locha Inc
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
21 #include "cc26xx_cc13xx.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
30 typedef struct {
43 #ifdef CPU_VARIANT_X2
44  reg8_t AUX_DEBUG;
45  reg8_t CTL_RECHARGE_CMP0;
46  reg8_t CTL_RECHARGE_CMP1;
47 #endif
49 
53 typedef struct {
66 #ifdef CPU_VARIANT_X2
67  reg8_m4_t AUX_DEBUG;
68  reg8_m4_t CTL_RECHARGE_CMP0;
69  reg8_m4_t CTL_RECHARGE_CMP1;
70 #endif
72 
77 #define ADI_3_REFSYS_DCDCCTL3_VDDR_BOOST_COMP_BOOST 0x00000002
78 #define ADI_3_REFSYS_AUX_DEBUG_LPM_BIAS_BACKUP_EN 0x00000040
88 #define ADI_3_REFSYS_BASE (PERIPH_BASE + 0x86200)
92 #define ADI_3_REFSYS_BASE_SET (ADI_3_REFSYS_BASE + ADI_SET)
96 #define ADI_3_REFSYS_BASE_CLR (ADI_3_REFSYS_BASE + ADI_CLR)
100 #define ADI_3_REFSYS_BASE_M4 (ADI_3_REFSYS_BASE + ADI_MASK4B)
106 #define ADI3 ((adi_3_refsys_regs_t *) (ADI_3_REFSYS_BASE))
110 #define ADI3_SET ((adi_3_refsys_regs_t *) (ADI_3_REFSYS_BASE_SET))
114 #define ADI3_CLR ((adi_3_refsys_regs_t *) (ADI_3_REFSYS_BASE_CLR))
118 #define ADI3_M4 ((adi_3_refsys_regs_m4_t *) (ADI_3_REFSYS_BASE_M4))
119 
120 #ifdef __cplusplus
121 }
122 #endif
123 
CC26xx, CC13xx definitions.
volatile uint8_t reg8_t
Unsigned 8-bit register type.
Definition: cc26xx_cc13xx.h:31
ADI_3_REFSYS registers.
reg8_m4_t REFSYSCTL0
Internal.
reg8_m4_t DCDCCTL3
Internal.
reg8_m4_t DCDCCTL5
Internal.
reg8_m4_t DCDCCTL2
DCDC Control 2.
reg8_m4_t REFSYSCTL1
Internal.
reg8_m4_t REFSYSCTL3
Internal.
reg8_m4_t __reserved1
Reserved.
reg8_m4_t DCDCCTL1
DCDC Control 1.
reg8_m4_t REFSYSCTL2
Internal.
reg8_m4_t DCDCCTL4
Internal.
reg8_m4_t ATESTCTL1
Internal.
reg8_m4_t DCDCCTL0
DCDC Control 0.
ADI_3_REFSYS registers.
reg8_t DCDCCTL5
Internal.
reg8_t DCDCCTL0
DCDC Control 0.
reg8_t DCDCCTL1
DCDC Control 1.
reg8_t REFSYSCTL3
Internal.
reg8_t ATESTCTL1
Internal.
reg8_t __reserved1
Reserved.
reg8_t DCDCCTL4
Internal.
reg8_t REFSYSCTL0
Internal.
reg8_t DCDCCTL3
Internal.
reg8_t REFSYSCTL2
Internal.
reg8_t DCDCCTL2
DCDC Control 2.
reg8_t REFSYSCTL1
Internal.
Masked 8-bit register.
Definition: cc26xx_cc13xx.h:44