sam0_aux_cfg_mapping Struct Reference

NVM User Row Mapping - Dedicated Entries Config values will be applied at power-on. More...

Detailed Description

NVM User Row Mapping - Dedicated Entries Config values will be applied at power-on.

NVM User Page Mapping - Dedicated Entries Config values will be applied at power-on.

Definition at line 130 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

uint64_t bootloader_size: 3
 BOOTPROT: Bootloader Size

 
uint64_t reserved_0: 1
 Factory settings - do not change. More...
 
uint64_t eeprom_size: 3
 one of eight different EEPROM sizes

 
uint64_t reserved_1: 1
 Factory settings - do not change. More...
 
uint64_t bod33_level: 6
 BOD33 threshold level at power-on. More...
 
uint64_t bod33_enable: 1
 BOD33 Enable at power-on. More...
 
uint64_t bod33_action: 2
 BOD33 Action at power-on. More...
 
uint64_t reserved_2: 8
 Factory settings - do not change. More...
 
uint64_t wdt_enable: 1
 WDT Enable at power-on. More...
 
uint64_t wdt_always_on: 1
 WDT Always-On at power-on. More...
 
uint64_t wdt_period: 4
 WDT Period at power-on. More...
 
uint64_t wdt_window: 4
 WDT Window at power-on. More...
 
uint64_t wdt_ewoffset: 4
 WDT Early Warning Interrupt Offset

 
uint64_t wdt_window_enable: 1
 WDT Window mode enabled on power-on

 
uint64_t bod33_hysteresis: 1
 BOD33 Hysteresis configuration

 
const uint64_t bod12_calibration: 1
 Factory settings - do not change. More...
 
uint64_t reserved_3: 6
 Factory settings - do not change. More...
 
uint64_t nvm_locks: 16
 NVM Region Lock Bits. More...
 
uint32_t bod33_disable: 1
 BOD33 Disable at power-on. More...
 
uint32_t bod33_level: 8
 BOD33 threshold level at power-on. More...
 
uint32_t bod33_action: 2
 BOD33 Action at power-on. More...
 
uint32_t bod33_hysteresis: 4
 BOD33 Hysteresis configuration

 
const uint32_t bod12_calibration: 11
 Factory settings - do not change. More...
 
uint32_t nvm_boot_size: 4
 NVM Bootloader Size

 
uint32_t reserved_0: 2
 Factory settings - do not change. More...
 
uint32_t smart_eeprom_blocks: 4
 NVM Blocks per SmartEEPROM sector

 
uint32_t smart_eeprom_page_size: 3
 SmartEEPROM Page Size

 
uint32_t ram_eccdis: 1
 RAM ECC Disable

 
uint32_t reserved_1: 8
 Factory settings - do not change. More...
 
uint32_t wdt_enable: 1
 WDT Enable at power-on. More...
 
uint32_t wdt_always_on: 1
 WDT Always-On at power-on. More...
 
uint32_t wdt_period: 4
 WDT Period at power-on. More...
 
uint32_t wdt_window: 4
 WDT Window at power-on. More...
 
uint32_t wdt_ewoffset: 4
 WDT Early Warning Interrupt Offset

 
uint32_t wdt_window_enable: 1
 WDT Window mode enabled on power-on

 
uint32_t reserved_2: 1
 Factory settings - do not change. More...
 
uint32_t nvm_locks
 NVM Region Lock Bits. More...
 
uint32_t user_page
 User page

 
uint32_t reserved_3
 Factory settings - do not change. More...
 
uint32_t user_pages [3]
 User pages

 
uint32_t secure_region_unlock: 3
 NVM Secure Region UnLock Bits

 
uint32_t non_secure_region_unlock: 3
 NVM Non-Secure Region UnLock Bits

 
uint32_t wdt_run_standby: 1
 WDT Runstdby at power-on

 
uint32_t ram_execute_never: 1
 RAM is eXecute Never

 
uint32_t data_execute_never: 1
 Data Flash is eXecute Never

 
uint32_t secure_flash_as_size: 8
 Secure Flash (AS region) Size = AS*0x100.
 
uint32_t nsc_size: 6
 Non-Secure Callable Flash (APPLICATION region) Size = ANSC*0x20.
 
uint32_t secure_flash_data_size: 4
 Secure Data Flash Size = DS*0x100

 
uint32_t reserved_4: 4
 Reserved

 
uint32_t secure_ram_size: 7
 Secure SRAM Size = RS*0x80

 
uint32_t reserved_5: 1
 Reserved

 
uint32_t user_row_write_enable: 1
 User Row Write Enable

 
uint32_t reserved_6: 31
 Reserved

 
uint32_t nonsec_a
 Peripherals Non-Secure Status Fuses for Bridge A.
 
uint32_t nonsec_b
 Peripherals Non-Secure Status Fuses for Bridge B.
 
uint32_t nonsec_c
 Peripherals Non-Secure Status Fuses for Bridge C.
 
uint32_t user_crc
 CRC of NVM User Row bits 223:64 (words 2…6)

 

Field Documentation

◆ bod12_calibration [1/2]

const uint32_t sam0_aux_cfg_mapping::bod12_calibration

Factory settings - do not change.


Definition at line 139 of file periph_cpu.h.

◆ bod12_calibration [2/2]

const uint32_t sam0_aux_cfg_mapping::bod12_calibration

Factory settings - do not change.


Definition at line 146 of file periph_cpu.h.

◆ bod33_action [1/2]

uint64_t sam0_aux_cfg_mapping::bod33_action

BOD33 Action at power-on.


Definition at line 137 of file periph_cpu.h.

◆ bod33_action [2/2]

uint32_t sam0_aux_cfg_mapping::bod33_action

BOD33 Action at power-on.


Definition at line 137 of file periph_cpu.h.

◆ bod33_disable

uint32_t sam0_aux_cfg_mapping::bod33_disable

BOD33 Disable at power-on.


Definition at line 135 of file periph_cpu.h.

◆ bod33_enable

uint64_t sam0_aux_cfg_mapping::bod33_enable

BOD33 Enable at power-on.


Definition at line 136 of file periph_cpu.h.

◆ bod33_level [1/2]

uint64_t sam0_aux_cfg_mapping::bod33_level

BOD33 threshold level at power-on.


Definition at line 135 of file periph_cpu.h.

◆ bod33_level [2/2]

uint32_t sam0_aux_cfg_mapping::bod33_level

BOD33 threshold level at power-on.


Definition at line 136 of file periph_cpu.h.

◆ nvm_locks [1/2]

uint64_t sam0_aux_cfg_mapping::nvm_locks

NVM Region Lock Bits.


Definition at line 148 of file periph_cpu.h.

◆ nvm_locks [2/2]

uint32_t sam0_aux_cfg_mapping::nvm_locks

NVM Region Lock Bits.


Definition at line 155 of file periph_cpu.h.

◆ reserved_0 [1/2]

uint64_t sam0_aux_cfg_mapping::reserved_0

Factory settings - do not change.

Reserved


Definition at line 132 of file periph_cpu.h.

◆ reserved_0 [2/2]

uint32_t sam0_aux_cfg_mapping::reserved_0

Factory settings - do not change.

Reserved


Definition at line 141 of file periph_cpu.h.

◆ reserved_1 [1/2]

uint64_t sam0_aux_cfg_mapping::reserved_1

Factory settings - do not change.

Reserved


Definition at line 134 of file periph_cpu.h.

◆ reserved_1 [2/2]

uint32_t sam0_aux_cfg_mapping::reserved_1

Factory settings - do not change.

Reserved


Definition at line 146 of file periph_cpu.h.

◆ reserved_2 [1/2]

uint64_t sam0_aux_cfg_mapping::reserved_2

Factory settings - do not change.

Reserved


Definition at line 138 of file periph_cpu.h.

◆ reserved_2 [2/2]

uint32_t sam0_aux_cfg_mapping::reserved_2

Factory settings - do not change.

Reserved


Definition at line 153 of file periph_cpu.h.

◆ reserved_3 [1/2]

uint64_t sam0_aux_cfg_mapping::reserved_3

Factory settings - do not change.

Reserved


Definition at line 147 of file periph_cpu.h.

◆ reserved_3 [2/2]

uint32_t sam0_aux_cfg_mapping::reserved_3

Factory settings - do not change.

Reserved


Definition at line 159 of file periph_cpu.h.

◆ wdt_always_on [1/2]

uint64_t sam0_aux_cfg_mapping::wdt_always_on

WDT Always-On at power-on.


Definition at line 140 of file periph_cpu.h.

◆ wdt_always_on [2/2]

uint32_t sam0_aux_cfg_mapping::wdt_always_on

WDT Always-On at power-on.


Definition at line 148 of file periph_cpu.h.

◆ wdt_enable [1/2]

uint64_t sam0_aux_cfg_mapping::wdt_enable

WDT Enable at power-on.


Definition at line 139 of file periph_cpu.h.

◆ wdt_enable [2/2]

uint32_t sam0_aux_cfg_mapping::wdt_enable

WDT Enable at power-on.


Definition at line 147 of file periph_cpu.h.

◆ wdt_period [1/2]

uint64_t sam0_aux_cfg_mapping::wdt_period

WDT Period at power-on.


Definition at line 141 of file periph_cpu.h.

◆ wdt_period [2/2]

uint32_t sam0_aux_cfg_mapping::wdt_period

WDT Period at power-on.


Definition at line 149 of file periph_cpu.h.

◆ wdt_window [1/2]

uint64_t sam0_aux_cfg_mapping::wdt_window

WDT Window at power-on.


Definition at line 142 of file periph_cpu.h.

◆ wdt_window [2/2]

uint32_t sam0_aux_cfg_mapping::wdt_window

WDT Window at power-on.


Definition at line 150 of file periph_cpu.h.


The documentation for this struct was generated from the following file: