09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reset and clock control for (RCC) <strong>RM0090</strong><br />

6 Reset and clock control for (RCC)<br />

6.1 Reset<br />

There are three types of reset, defined as system Reset, power Reset and backup domain<br />

Reset.<br />

6.1.1 System reset<br />

A system reset sets all registers to their reset values except the reset flags in the clock<br />

controller CSR register and the registers in the Backup domain (see Figure 4).<br />

A system reset is generated when one of the following events occurs:<br />

1. A low level on the NRST pin (external reset)<br />

2. Window watchdog end of count condition (WWDG reset)<br />

3. Independent watchdog end of count condition (IWDG reset)<br />

4. A software reset (SW reset) (see Software reset)<br />

5. Low-power management reset (see Low-power management reset)<br />

Software reset<br />

The reset source can be identified by checking the reset flags in the RCC clock control &<br />

status register (RCC_CSR).<br />

The SYSRESETREQ bit in Cortex-M4F Application Interrupt and Reset Control Register<br />

must be set to force a software reset on the device. Refer to the Cortex-M4F technical<br />

reference <strong>manual</strong> for more details.<br />

111/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!