libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.

Defined Constants and Types for the Reset Management Unit More...

Collaboration diagram for RMU Defines:

Macros

#define RMU_CTRL   MMIO32(RMU_BASE + 0x00)
 
#define RMU_RSTCAUSE   MMIO32(RMU_BASE + 0x04)
 
#define RMU_CMD   MMIO32(RMU_BASE + 0x08)
 
#define RMU_CTRL_BURSTEN   (1 << 1)
 
#define RMU_CTRL_LOCKUPRDIS   (1 << 0)
 
#define RMU_RSTCAUSE_BUMODERST   (1 << 15)
 
#define RMU_RSTCAUSE_BUBODREG   (1 << 14)
 
#define RMU_RSTCAUSE_BUBODUNREG   (1 << 13)
 
#define RMU_RSTCAUSE_BUBODBUVIN   (1 << 12)
 
#define RMU_RSTCAUSE_BUBODVDDDREG   (1 << 11)
 
#define RMU_RSTCAUSE_BODAVDD1   (1 << 10)
 
#define RMU_RSTCAUSE_BODAVDD0   (1 << 9)
 
#define RMU_RSTCAUSE_EM4WURST   (1 << 8)
 
#define RMU_RSTCAUSE_EM4RST   (1 << 7)
 
#define RMU_RSTCAUSE_SYSREQRST   (1 << 6)
 
#define RMU_RSTCAUSE_LOCKUPRST   (1 << 5)
 
#define RMU_RSTCAUSE_WDOGRST   (1 << 4)
 
#define RMU_RSTCAUSE_EXTRST   (1 << 3)
 
#define RMU_RSTCAUSE_BODREGRST   (1 << 2)
 
#define RMU_RSTCAUSE_BODUNREGRST   (1 << 1)
 
#define RMU_RSTCAUSE_PORST   (1 << 0)
 
#define RMU_CMD_RCCLR   (1 << 0)
 

Detailed Description

Defined Constants and Types for the Reset Management Unit

LGPL License Terms libopencm3 License

Macro Definition Documentation

◆ RMU_CMD

#define RMU_CMD   MMIO32(RMU_BASE + 0x08)

Definition at line 31 of file rmu_common.h.

◆ RMU_CMD_RCCLR

#define RMU_CMD_RCCLR   (1 << 0)

Definition at line 56 of file rmu_common.h.

◆ RMU_CTRL

#define RMU_CTRL   MMIO32(RMU_BASE + 0x00)

Definition at line 29 of file rmu_common.h.

◆ RMU_CTRL_BURSTEN

#define RMU_CTRL_BURSTEN   (1 << 1)

Definition at line 34 of file rmu_common.h.

◆ RMU_CTRL_LOCKUPRDIS

#define RMU_CTRL_LOCKUPRDIS   (1 << 0)

Definition at line 35 of file rmu_common.h.

◆ RMU_RSTCAUSE

#define RMU_RSTCAUSE   MMIO32(RMU_BASE + 0x04)

Definition at line 30 of file rmu_common.h.

◆ RMU_RSTCAUSE_BODAVDD0

#define RMU_RSTCAUSE_BODAVDD0   (1 << 9)

Definition at line 44 of file rmu_common.h.

◆ RMU_RSTCAUSE_BODAVDD1

#define RMU_RSTCAUSE_BODAVDD1   (1 << 10)

Definition at line 43 of file rmu_common.h.

◆ RMU_RSTCAUSE_BODREGRST

#define RMU_RSTCAUSE_BODREGRST   (1 << 2)

Definition at line 51 of file rmu_common.h.

◆ RMU_RSTCAUSE_BODUNREGRST

#define RMU_RSTCAUSE_BODUNREGRST   (1 << 1)

Definition at line 52 of file rmu_common.h.

◆ RMU_RSTCAUSE_BUBODBUVIN

#define RMU_RSTCAUSE_BUBODBUVIN   (1 << 12)

Definition at line 41 of file rmu_common.h.

◆ RMU_RSTCAUSE_BUBODREG

#define RMU_RSTCAUSE_BUBODREG   (1 << 14)

Definition at line 39 of file rmu_common.h.

◆ RMU_RSTCAUSE_BUBODUNREG

#define RMU_RSTCAUSE_BUBODUNREG   (1 << 13)

Definition at line 40 of file rmu_common.h.

◆ RMU_RSTCAUSE_BUBODVDDDREG

#define RMU_RSTCAUSE_BUBODVDDDREG   (1 << 11)

Definition at line 42 of file rmu_common.h.

◆ RMU_RSTCAUSE_BUMODERST

#define RMU_RSTCAUSE_BUMODERST   (1 << 15)

Definition at line 38 of file rmu_common.h.

◆ RMU_RSTCAUSE_EM4RST

#define RMU_RSTCAUSE_EM4RST   (1 << 7)

Definition at line 46 of file rmu_common.h.

◆ RMU_RSTCAUSE_EM4WURST

#define RMU_RSTCAUSE_EM4WURST   (1 << 8)

Definition at line 45 of file rmu_common.h.

◆ RMU_RSTCAUSE_EXTRST

#define RMU_RSTCAUSE_EXTRST   (1 << 3)

Definition at line 50 of file rmu_common.h.

◆ RMU_RSTCAUSE_LOCKUPRST

#define RMU_RSTCAUSE_LOCKUPRST   (1 << 5)

Definition at line 48 of file rmu_common.h.

◆ RMU_RSTCAUSE_PORST

#define RMU_RSTCAUSE_PORST   (1 << 0)

Definition at line 53 of file rmu_common.h.

◆ RMU_RSTCAUSE_SYSREQRST

#define RMU_RSTCAUSE_SYSREQRST   (1 << 6)

Definition at line 47 of file rmu_common.h.

◆ RMU_RSTCAUSE_WDOGRST

#define RMU_RSTCAUSE_WDOGRST   (1 << 4)

Definition at line 49 of file rmu_common.h.