Crate cc2640r2_pac

Source
Expand description

Peripheral access API for CC2640R2F microcontrollers (generated using svd2rust v0.33.1 ( ))

You can find an overview of the generated API here.

API features to be included in the next svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open.

Modules§

aon_batmon
Always On (AON) Battery And Temperature MONitor (BATMON) residing in the AON domain Note: This module only supports 32 bit Read/Write access from MCU.
aon_event
This module configures the event fabric located in the AON domain. Note: This module is only supporting 32 bit ReadWrite access from MCU
aon_ioc
Always On (AON) IO Controller - controls IO operation when the MCU IO Controller (IOC) is powered off and resides in the AON domain. Note: This module only supports 32 bit Read/Write access from MCU.
aon_rtc
This component control the Real Time Clock residing in AON Note: This module is only supporting 32 bit ReadWrite access.
aon_sysctl
This component controls AON_SYSCTL, which is the device’s system controller. Note: This module is only supporting 32 bit ReadWrite access from MCU
aon_wuc
This component control the Wakeup controller residing in the AON domain. Note: This module is only supporting 32 bit ReadWrite access from MCU
aux_adi4
Configuration registers controlling analog peripherals of AUX. Registers Fields should be considered static unless otherwise noted (as dynamic)
aux_aiodio0
AUX Analog/Digital Input Output Controller
aux_aiodio1
AUX Analog/Digital Input Output Controller
aux_anaif
AUX Analog Peripheral Control Module
aux_ddi0_osc
This is the DDI for the digital block that controls all the analog clock oscillators (OSC_DIG) and performs qualification of the clocks generated.
aux_evctl
AUX Event Controller
aux_sce
AUX Sensor Control Engine Control Module
aux_smph
AUX Semaphore Controller
aux_tdcif
AUX Time To Digital Converter
aux_timer
AUX Timer
aux_wuc
AUX Wake-up controller
ccfg
Customer Configuration Area (CCFG)
cpu_dwt
Cortex-M’s Data watchpoint and Trace (DWT)
cpu_fpb
Cortex-M’s Flash Patch and Breakpoint (FPB)
cpu_itm
Cortex-M’s Instrumentation Trace Macrocell (ITM)
cpu_scs
Cortex-M’s System Control Space (SCS)
cpu_tiprop
Cortex-M’s TI proprietary registers
cpu_tpiu
Cortex-M3’s Trace Port Interface Unit (TPIU)
crypto
Crypto core with DMA capability and local key storage
event
Event Fabric Component Definition
fcfg1
Factory configuration area (FCFG1)
flash
Flash sub-system registers, includes the Flash Memory Controller (FMC), flash read path, and an integrated Efuse controller and EFUSEROM.
generic
Common register and bit access and modify traits
gpio
MCU GPIO - I/F for controlling and reading IO status and IO event status
gpt0
General Purpose Timer.
gpt1
General Purpose Timer.
gpt2
General Purpose Timer.
gpt3
General Purpose Timer.
i2c0
I2CMaster/Slave Serial Controler
i2s0
I2S Audio DMA module supporting formats I2S, LJF, RJF and DSP
ioc
IO Controller (IOC) - configures all the DIOs and resides in the MCU domain.
prcm
Power, Reset and Clock Management
rfc_dbell
RF Core Doorbell
rfc_pwr
RF Core Power Management
rfc_rat
RF Core Radio Timer
smph
MCU Semaphore Module This module provides 32 binary semaphores. The state of a binary semaphore is either taken or available. A semaphore does not implement any ownership attribute. Still, a semaphore can be used to handle mutual exclusion scenarios.
ssi0
Synchronous Serial Interface with master and slave capabilities
ssi1
Synchronous Serial Interface with master and slave capabilities
trng
True Random Number Generator
uart0
Universal Asynchronous Receiver/Transmitter (UART) interface
udma0
ARM Micro Direct Memory Access Controller
vims
Versatile Instruction Memory System Controls memory access to the Flash and encapsulates the following instruction memories: - Boot ROM - Cache / GPRAM
wdt
Watchdog Timer

Structs§

AonBatmon
Always On (AON) Battery And Temperature MONitor (BATMON) residing in the AON domain Note: This module only supports 32 bit Read/Write access from MCU.
AonEvent
This module configures the event fabric located in the AON domain. Note: This module is only supporting 32 bit ReadWrite access from MCU
AonIoc
Always On (AON) IO Controller - controls IO operation when the MCU IO Controller (IOC) is powered off and resides in the AON domain. Note: This module only supports 32 bit Read/Write access from MCU.
AonRtc
This component control the Real Time Clock residing in AON Note: This module is only supporting 32 bit ReadWrite access.
AonSysctl
This component controls AON_SYSCTL, which is the device’s system controller. Note: This module is only supporting 32 bit ReadWrite access from MCU
AonWuc
This component control the Wakeup controller residing in the AON domain. Note: This module is only supporting 32 bit ReadWrite access from MCU
AuxAdi4
Configuration registers controlling analog peripherals of AUX. Registers Fields should be considered static unless otherwise noted (as dynamic)
AuxAiodio0
AUX Analog/Digital Input Output Controller
AuxAiodio1
AUX Analog/Digital Input Output Controller
AuxAnaif
AUX Analog Peripheral Control Module
AuxDdi0Osc
This is the DDI for the digital block that controls all the analog clock oscillators (OSC_DIG) and performs qualification of the clocks generated.
AuxEvctl
AUX Event Controller
AuxSce
AUX Sensor Control Engine Control Module
AuxSmph
AUX Semaphore Controller
AuxTdcif
AUX Time To Digital Converter
AuxTimer
AUX Timer
AuxWuc
AUX Wake-up controller
CpuDwt
Cortex-M’s Data watchpoint and Trace (DWT)
CpuFpb
Cortex-M’s Flash Patch and Breakpoint (FPB)
CpuItm
Cortex-M’s Instrumentation Trace Macrocell (ITM)
CpuScs
Cortex-M’s System Control Space (SCS)
CpuTiprop
Cortex-M’s TI proprietary registers
CpuTpiu
Cortex-M3’s Trace Port Interface Unit (TPIU)
Crypto
Crypto core with DMA capability and local key storage
Event
Event Fabric Component Definition
Fcfg1
Factory configuration area (FCFG1)
Flash
Flash sub-system registers, includes the Flash Memory Controller (FMC), flash read path, and an integrated Efuse controller and EFUSEROM.
Gpio
MCU GPIO - I/F for controlling and reading IO status and IO event status
Gpt0
General Purpose Timer.
Gpt1
General Purpose Timer.
Gpt2
General Purpose Timer.
Gpt3
General Purpose Timer.
I2c0
I2CMaster/Slave Serial Controler
I2s0
I2S Audio DMA module supporting formats I2S, LJF, RJF and DSP
Ioc
IO Controller (IOC) - configures all the DIOs and resides in the MCU domain.
Peripherals
All the peripherals.
Prcm
Power, Reset and Clock Management
RfcDbell
RF Core Doorbell
RfcPwr
RF Core Power Management
RfcRat
RF Core Radio Timer
Smph
MCU Semaphore Module This module provides 32 binary semaphores. The state of a binary semaphore is either taken or available. A semaphore does not implement any ownership attribute. Still, a semaphore can be used to handle mutual exclusion scenarios.
Ssi0
Synchronous Serial Interface with master and slave capabilities
Ssi1
Synchronous Serial Interface with master and slave capabilities
Trng
True Random Number Generator
Uart0
Universal Asynchronous Receiver/Transmitter (UART) interface
Udma0
ARM Micro Direct Memory Access Controller
Vims
Versatile Instruction Memory System Controls memory access to the Flash and encapsulates the following instruction memories: - Boot ROM - Cache / GPRAM
Wdt
Watchdog Timer

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority