mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/saml21: add NVM User Page Mapping
This commit is contained in:
parent
c5f8742877
commit
fecc5bdcff
@ -85,6 +85,32 @@ typedef enum {
|
||||
#define RTT_MIN_OFFSET (8U)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief NVM User Row Mapping - Dedicated Entries
|
||||
* Config values will be applied at power-on.
|
||||
* @{
|
||||
*/
|
||||
struct sam0_aux_cfg_mapping {
|
||||
uint64_t bootloader_size : 3; /**< BOOTPROT: Bootloader Size */
|
||||
uint64_t reserved_0 : 1; /**< Factory settings - do not change. */
|
||||
uint64_t eeprom_size : 3; /**< one of eight different EEPROM sizes */
|
||||
uint64_t reserved_1 : 1; /**< Factory settings - do not change. */
|
||||
uint64_t bod33_level : 6; /**< BOD33 threshold level at power-on. */
|
||||
uint64_t bod33_enable : 1; /**< BOD33 Enable at power-on. */
|
||||
uint64_t bod33_action : 2; /**< BOD33 Action at power-on. */
|
||||
uint64_t reserved_2 : 9; /**< Factory settings - do not change. */
|
||||
uint64_t wdt_enable : 1; /**< WDT Enable at power-on. */
|
||||
uint64_t wdt_always_on : 1; /**< WDT Always-On at power-on. */
|
||||
uint64_t wdt_period : 4; /**< WDT Period at power-on. */
|
||||
uint64_t wdt_window : 4; /**< WDT Window at power-on. */
|
||||
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 */
|
||||
uint64_t reserved_3 : 6; /**< Factory settings - do not change. */
|
||||
uint64_t nvm_locks : 16; /**< NVM Region Lock Bits. */
|
||||
};
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user