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.

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

General-purpose input/outputs<br />

8.5.4 Port x output data register (GPIO_PxOUT)<br />

Table 29.<br />

Address offset: 0xB00C (GPIO_PAOUT), 0xB40C (GPIO_PBOUT)<br />

and 0xB80C (GPIO_PCOUT)<br />

Reset value: 0x0000 0000<br />

Port x output data register (GPIO_PxOUT)<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 />

Px7 Px6 Px5 Px4 Px3 Px2 Px1 Px0<br />

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

Bit 7 Px7: Output data for Px7.<br />

Bit 6 Px6: Output data for Px6.<br />

Bit 5 Px5: Output data for Px5.<br />

Bit 4 Px4: Output data for Px4.<br />

Bit 3 Px3: Output data for Px3.<br />

Bit 2 Px2: Output data for Px2.<br />

Bit 1 Px1: Output data for Px1.<br />

Bit 0 Px0: Output data for Px0.<br />

8.5.5 Port x output clear register (GPIO_PxCLR)<br />

Table 30.<br />

Address offset: 0xB014 (GPIO_PACLR), 0xB414 (GPIO_PBCLR)<br />

and 0xB814 (GPIO_PCCLR)<br />

Reset value: 0x0000 0000<br />

Port x output clear register (GPIO_PxCLR)<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 />

Px7 Px6 Px5 Px4 Px3 Px2 Px1 Px0<br />

w w w w w w w w<br />

Bit 7 Px7: Write 1 to clear the output data bit for Px7 (writing 0 has no effect).<br />

Bit 6 Px6: Write 1 to clear the output data bit for Px6 (writing 0 has no effect).<br />

Bit 5 Px5: Write 1 to clear the output data bit for Px5 (writing 0 has no effect).<br />

Bit 4 Px4: Write 1 to clear the output data bit for Px4 (writing 0 has no effect).<br />

Bit 3 Px3: Write 1 to clear the output data bit for Px3 (writing 0 has no effect).<br />

Doc ID 018587 Rev 2 66/215

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

Saved successfully!

Ooh no, something went wrong!