01.06.2014 Views

STM32W108C8

STM32W108C8

STM32W108C8

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

System modules<br />

Bits [15:0] SLEEPTMR_CMPBH_FIELD:<br />

Sleep timer compare B high value [31:16].<br />

Sleep timer compare value, writing updates COMP_B_H (directly) and COMP_B_L (from<br />

hold register).<br />

Can only be changed when the ENABLE bit (bit 11 of SLEEP_CONFIG register) is set to ‘0’.<br />

If changed when the ENABLE bit is set to ‘1’, a spurious interrupt may be generated.<br />

Therefore it is recommended to disable interrupts before changing this register.<br />

Table 16.<br />

Sleep timer compare B low register (SLEEPTMR_CMPBL)<br />

Address: 0x4000 6024<br />

Reset value: 0x0000 FFFF<br />

Sleep timer compare B low register (SLEEPTMR_CMPBL)<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 />

SLEEPTMR_CMPBL<br />

rw<br />

Bits [15:0] SLEEPTMR_CMPBL_FIELD:<br />

Sleep timer compare B low value [15:0].<br />

Writing to this register puts value in hold register until a write to the SLEEPTMR_CMPBH<br />

register.<br />

Can only be changed when the ENABLE bit (bit 11 of SLEEP_CONFIG register) is set to ‘0’.<br />

If changed when the ENABLE bit is set to ‘1’, a spurious interrupt may be generated.<br />

Therefore it is recommended to disable interrupts before changing this register.<br />

Sleep timer interrupt source register (INT_SLEEPTMRFLAG)<br />

Address: 0x4000 A014<br />

Reset value: 0x0000 0000<br />

Table 17. Sleep timer interrupt source register (INT_SLEEPTMRFLAG)<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 />

INT_<br />

SLEEP<br />

TMR<br />

CMPB<br />

INT_<br />

SLEEP<br />

TMR<br />

CMPA<br />

INT_<br />

SLEEP<br />

TMR<br />

WRAP<br />

r rw rw rw<br />

Doc ID 018587 Rev 2 46/215

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

Saved successfully!

Ooh no, something went wrong!