01.06.2014 Views

STM32W108C8

STM32W108C8

STM32W108C8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

System modules<br />

<strong>STM32W108C8</strong><br />

Bits [15:0] WDOG_CTRL: Write 0xDEAD to disable or 0xEABE to enable.<br />

Table 10.<br />

Watchdog restart register (WDOG_RESTART)<br />

Write any value to this register to kick-start the watchdog.<br />

Address: 0x4000 6008<br />

Reset value: 0x0000 0000<br />

Sleep timer configuration register (SLEEPTMR_CFG)<br />

This register sets the various options for the Sleep timer.<br />

Address: 0x4000 600C<br />

Reset value: 0x0000 0400<br />

Sleep timer configuration register (SLEEPTMR_CFG)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

SLEEP<br />

TMR_<br />

REVER<br />

SE<br />

SLEEP<br />

TMR_<br />

ENABL<br />

E<br />

SLEEP<br />

TMR_<br />

DBGPA<br />

USE<br />

Reserved SLEEPTMR_CLKDIV Reserved<br />

SLEEP<br />

TMR_<br />

CLKSE<br />

L<br />

r rw rw rw r rw r rw<br />

Bit 12 SLEEPTMR_REVERSE:<br />

0: count forward; 1: count backwards.<br />

Only changes when ENABLE bit is set to ‘0’.<br />

Bit 11 SLEEPTMR_ENABLE:<br />

0: disable sleep timer; 1: enable sleep timer.<br />

To change other register bits (REVERSE, CLK_DIV, CLK_SEL), this bit must be set to ‘0’.<br />

Enabling/Disabling latency can be up 2 to 3 clock-periods of selected clock.<br />

Bit 10 SLEEPTMR_DBGPAUSE: Debug Pause<br />

0: The timer continues working in Debug mode.<br />

1: The timer is paused in Debug mode when the CPU is halted.<br />

Bits [7:4] SLEEPTMR_CLKDIV: Sleep timer prescaler setting<br />

Divides clock by 2 N where N = 0 to 15.<br />

Can only be changed when the ENABLE bit is set to ‘0’.<br />

Bit 0 SLEEPTMR_CLKSEL: Clock Select<br />

0: Calibrated 1kHz RC clock (default); 1: 32kHz<br />

Can only be changed when the ENABLE bit is set to ‘0’.<br />

Sleep timer count high register (SLEEPTMR_CNTH)<br />

Address: 0x4000 6010<br />

Reset value: 0x0000 0000<br />

43/215 Doc ID 018587 Rev 2

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

Saved successfully!

Ooh no, something went wrong!