Loading...
Searching...
No Matches
cc26x2_cc13x2_aux.h File Reference

CC26x2, CC13x2 AUX register definitions. More...

Detailed Description

CC26x2, CC13x2 AUX register definitions.

Definition in file cc26x2_cc13x2_aux.h.

#include <stdbool.h>
#include "cc26xx_cc13xx.h"
+ Include dependency graph for cc26x2_cc13x2_aux.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  aux_aiodio_regs_t
 AUX_AIODIO registers. More...
 
struct  aux_tdc_regs_t
 AUX_TDC registers. More...
 
struct  aux_evctl_regs_t
 AUX_EVCTL registers. More...
 
struct  aux_sysif_regs_t
 AUX_SYSIF registers. More...
 
struct  aux_timer01_regs_t
 AUX_TIMER01 registers. More...
 
struct  aux_timer2_regs_t
 AUX_TIMER2 registers. More...
 
struct  aux_smph_regs_t
 AUX_SMPH registers. More...
 
struct  aux_anaif_regs_t
 AUX_ANAIF registers. More...
 
struct  adi_4_aux_regs_t
 ADI_4_AUX registers. More...
 
struct  adi_4_aux_regs_m8_t
 ADI_4_AUX registers using masked 8-bit access. More...
 

Macros

#define AUX_AIODIO0   ((aux_aiodio_regs_t *) (AUX_AIODIO0_BASE))
 AUX_AIODIO0 register bank.
 
#define AUX_AIODIO1   ((aux_aiodio_regs_t *) (AUX_AIODIO1_BASE))
 AUX_AIODIO1 register bank.
 
#define AUX_AIODIO2   ((aux_aiodio_regs_t *) (AUX_AIODIO2_BASE))
 AUX_AIODIO2 register bank.
 
#define AUX_AIODIO3   ((aux_aiodio_regs_t *) (AUX_AIODIO3_BASE))
 AUX_AIODIO3 register bank.
 
#define AUX_TDC   ((aux_tdc_regs_t *) (AUX_TDC_BASE))
 AUX_TDC register bank.
 
#define AUX_EVCTL   ((aux_evctl_regs_t *) (AUX_EVCTL_BASE))
 AUX_EVCTL register bank.
 
#define AUX_SYSIF   ((aux_sysif_regs_t *) (AUX_SYSIF_BASE))
 AUX_SYSIF register bank.
 
#define AUX_TIMER01   ((aux_timer01_regs_t *) (AUX_TIMER01_BASE))
 AUX_TIMER01 register bank.
 
#define AUX_TIMER2   ((aux_timer2_regs_t *) (AUX_TIMER2_BASE))
 AUX_TIMER2 register bank.
 
#define AUX_SMPH   ((aux_smph_regs_t *) (AUX_SMPH_BASE))
 AUX_SMPH register bank.
 
#define AUX_ANAIF   ((aux_anaif_regs_t *) (AUX_ANAIF_BASE))
 AUX_ANAIF register bank.
 
#define ADI_4_AUX   ((adi_4_aux_regs_t *) (ADI_4_AUX_BASE))
 ADI_4_AUX register bank.
 
#define ADI_4_AUX_M8   ((adi_4_aux_regs_m8_t *) (ADI_4_AUX_BASE_M8))
 ADI_4_AUX register bank.
 
#define ADDI_SEM   AUX_SMPH->SMPH0
 Semamphore used for ADDI.
 
#define AUX_AIODIO0_BASE   (PERIPH_BASE + 0xCC000)
 AUX_AIODIO0 base address.
 
#define AUX_AIODIO1_BASE   (PERIPH_BASE + 0xCD000)
 AUX_AIODIO1 base address.
 
#define AUX_AIODIO2_BASE   (PERIPH_BASE + 0xCE000)
 AUX_AIODIO2 base address.
 
#define AUX_AIODIO3_BASE   (PERIPH_BASE + 0xCF000)
 AUX_AIODIO3 base address.
 
#define AUX_TDC_BASE   (PERIPH_BASE + 0xC4000)
 AUX_TDC base address.
 
#define AUX_EVCTL_BASE   (PERIPH_BASE + 0xC5000)
 AUX_EVCTL base address.
 
#define AUX_SYSIF_OPMODEREQ_REQ_PDLP   0x00000003
 AUX_SYSIF register values.
 
#define AUX_SYSIF_OPMODEREQ_REQ_PDA   0x00000002
 
#define AUX_SYSIF_OPMODEREQ_REQ_LP   0x00000001
 
#define AUX_SYSIF_OPMODEREQ_REQ_A   0x00000000
 
#define AUX_SYSIF_BASE   (PERIPH_BASE + 0xC6000)
 AUX_SYSIF base address.
 
#define AUX_TIMER01_BASE   (PERIPH_BASE + 0xC7000)
 AUX_TIMER01 base address.
 
#define AUX_TIMER2_BASE   (PERIPH_BASE + 0xC3000)
 AUX_TIMER2 base address.
 
#define AUX_SMPH_BASE   (PERIPH_BASE + 0xC8000)
 AUX_SMPH base address.
 
#define AUX_ANAIF_BASE   (PERIPH_BASE + 0xC9000)
 AUX_ANAIF base address.
 
#define ADI_4_AUX_COMP_LPM_BIAS_WIDTH_TRIM_m   0x00000038
 ADI_4_AUX register values.
 
#define ADI_4_AUX_COMP_LPM_BIAS_WIDTH_TRIM_s   3
 
#define ADI_4_AUX_LPMBIAS_LPM_TRIM_IOUT_m   0x0000003F
 
#define ADI_4_AUX_LPMBIAS_LPM_TRIM_IOUT_s   0
 
#define ADI_4_AUX_BASE   (PERIPH_BASE + 0xCB000)
 ADI_4_AUX base address.
 
#define ADI_4_AUX_BASE_M8   (ADI_4_AUX_BASE + ADI_MASK8B)
 ADI_4_AUX base address for masked 8-bit access.
 
void aux_sysif_opmode_change (uint32_t target_opmode)
 AUX_SYSIF functions.
 

Macro Definition Documentation

◆ ADDI_SEM

#define ADDI_SEM   AUX_SMPH->SMPH0

Semamphore used for ADDI.

Definition at line 473 of file cc26x2_cc13x2_aux.h.

◆ ADI_4_AUX

#define ADI_4_AUX   ((adi_4_aux_regs_t *) (ADI_4_AUX_BASE))

ADI_4_AUX register bank.

Definition at line 464 of file cc26x2_cc13x2_aux.h.

◆ ADI_4_AUX_COMP_LPM_BIAS_WIDTH_TRIM_m

#define ADI_4_AUX_COMP_LPM_BIAS_WIDTH_TRIM_m   0x00000038

ADI_4_AUX register values.

Definition at line 441 of file cc26x2_cc13x2_aux.h.

◆ ADI_4_AUX_COMP_LPM_BIAS_WIDTH_TRIM_s

#define ADI_4_AUX_COMP_LPM_BIAS_WIDTH_TRIM_s   3

Definition at line 442 of file cc26x2_cc13x2_aux.h.

◆ ADI_4_AUX_LPMBIAS_LPM_TRIM_IOUT_m

#define ADI_4_AUX_LPMBIAS_LPM_TRIM_IOUT_m   0x0000003F

Definition at line 443 of file cc26x2_cc13x2_aux.h.

◆ ADI_4_AUX_LPMBIAS_LPM_TRIM_IOUT_s

#define ADI_4_AUX_LPMBIAS_LPM_TRIM_IOUT_s   0

Definition at line 444 of file cc26x2_cc13x2_aux.h.

◆ ADI_4_AUX_M8

#define ADI_4_AUX_M8   ((adi_4_aux_regs_m8_t *) (ADI_4_AUX_BASE_M8))

ADI_4_AUX register bank.

Definition at line 468 of file cc26x2_cc13x2_aux.h.

◆ AUX_AIODIO0

#define AUX_AIODIO0   ((aux_aiodio_regs_t *) (AUX_AIODIO0_BASE))

AUX_AIODIO0 register bank.

Definition at line 77 of file cc26x2_cc13x2_aux.h.

◆ AUX_AIODIO1

#define AUX_AIODIO1   ((aux_aiodio_regs_t *) (AUX_AIODIO1_BASE))

AUX_AIODIO1 register bank.

Definition at line 81 of file cc26x2_cc13x2_aux.h.

◆ AUX_AIODIO2

#define AUX_AIODIO2   ((aux_aiodio_regs_t *) (AUX_AIODIO2_BASE))

AUX_AIODIO2 register bank.

Definition at line 85 of file cc26x2_cc13x2_aux.h.

◆ AUX_AIODIO3

#define AUX_AIODIO3   ((aux_aiodio_regs_t *) (AUX_AIODIO3_BASE))

AUX_AIODIO3 register bank.

Definition at line 89 of file cc26x2_cc13x2_aux.h.

◆ AUX_ANAIF

#define AUX_ANAIF   ((aux_anaif_regs_t *) (AUX_ANAIF_BASE))

AUX_ANAIF register bank.

Definition at line 397 of file cc26x2_cc13x2_aux.h.

◆ AUX_EVCTL

#define AUX_EVCTL   ((aux_evctl_regs_t *) (AUX_EVCTL_BASE))

AUX_EVCTL register bank.

Definition at line 168 of file cc26x2_cc13x2_aux.h.

◆ AUX_SMPH

#define AUX_SMPH   ((aux_smph_regs_t *) (AUX_SMPH_BASE))

AUX_SMPH register bank.

Definition at line 362 of file cc26x2_cc13x2_aux.h.

◆ AUX_SYSIF

#define AUX_SYSIF   ((aux_sysif_regs_t *) (AUX_SYSIF_BASE))

AUX_SYSIF register bank.

Definition at line 243 of file cc26x2_cc13x2_aux.h.

◆ AUX_SYSIF_OPMODEREQ_REQ_A

#define AUX_SYSIF_OPMODEREQ_REQ_A   0x00000000

Definition at line 227 of file cc26x2_cc13x2_aux.h.

◆ AUX_SYSIF_OPMODEREQ_REQ_LP

#define AUX_SYSIF_OPMODEREQ_REQ_LP   0x00000001

Definition at line 226 of file cc26x2_cc13x2_aux.h.

◆ AUX_SYSIF_OPMODEREQ_REQ_PDA

#define AUX_SYSIF_OPMODEREQ_REQ_PDA   0x00000002

Definition at line 225 of file cc26x2_cc13x2_aux.h.

◆ AUX_SYSIF_OPMODEREQ_REQ_PDLP

#define AUX_SYSIF_OPMODEREQ_REQ_PDLP   0x00000003

AUX_SYSIF register values.

Definition at line 224 of file cc26x2_cc13x2_aux.h.

◆ AUX_TDC

#define AUX_TDC   ((aux_tdc_regs_t *) (AUX_TDC_BASE))

AUX_TDC register bank.

Definition at line 120 of file cc26x2_cc13x2_aux.h.

◆ AUX_TIMER01

#define AUX_TIMER01   ((aux_timer01_regs_t *) (AUX_TIMER01_BASE))

AUX_TIMER01 register bank.

Definition at line 287 of file cc26x2_cc13x2_aux.h.

◆ AUX_TIMER2

#define AUX_TIMER2   ((aux_timer2_regs_t *) (AUX_TIMER2_BASE))

AUX_TIMER2 register bank.

Definition at line 332 of file cc26x2_cc13x2_aux.h.

Function Documentation

◆ aux_sysif_opmode_change()

void aux_sysif_opmode_change ( uint32_t  target_opmode)

AUX_SYSIF functions.

Changes the AUX operational mode

Note
Only this function should be used to change the operational mode, because it needs to be done in order.
Parameters
[in]target_opmodeThe opmode we want to change to.