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 />

General-purpose input/outputs<br />

Table 24.<br />

GPIO_IRQxSEL<br />

IRQC/D GPIO selection (continued)<br />

GPIO<br />

GPIO_IRQxSE<br />

L<br />

GPIO<br />

GPIO_IRQxSE<br />

L<br />

GPIO<br />

3 PA3 11 PB3 19 PC3<br />

4 PA4 12 PB4 20 PC4<br />

5 PA5 13 PB5 21 PC5<br />

6 PA6 14 PB6 22 PC6<br />

7 PA7 15 PB7 23 PC7<br />

In some cases, it may be useful to assign IRQC or IRQD to an input also in use by a<br />

peripheral, for example to generate an interrupt from the slave select signal (nSSEL) in an<br />

SPI slave mode interface.<br />

Refer to Section 12: Interrupts on page 174 for further information regarding the<br />

<strong>STM32W108C8</strong> interrupt system.<br />

8.3 Debug control and status<br />

Two GPIO registers are largely concerned with debugger functions. GPIO_DBGCFG can<br />

disable debugger operation, but has other miscellaneous control bits as well.<br />

GPIO_DBGSTAT, a read-only register, returns status related to debugger activity<br />

(GPIO_FORCEDBG and GPIO_SWEN), as well a flag (GPIO_BOOTMODE) indicating<br />

whether nBOOTMODE was asserted at the last power-on or NRST-based reset.<br />

8.4 GPIO alternate functions<br />

Table 25 lists the GPIO alternate functions.<br />

Table 25.<br />

GPIO signal assignments<br />

GPIO Analog Alternate function Input<br />

Output current<br />

drive<br />

PA0<br />

PA1<br />

PA2<br />

PA3<br />

TIM2_CH1 (1) ,<br />

SC2MOSI<br />

TIM2_CH3 (1) ,<br />

SC2MISO, SC2SDA<br />

TIM2_CH4 (1) ,<br />

SC2SCLK, SC2SCL<br />

TIM2_CH2 (1) ,<br />

TRACECLK<br />

TIM2_CH1 (1) ,<br />

SC2MOSI<br />

TIM2_CH3 (1) ,<br />

SC2MISO, SC2SDA<br />

TIM2_CH4 (1) ,<br />

SC2SCLK<br />

TIM2_CH2 (1) ,<br />

SC2nSSEL<br />

Standard<br />

Standard<br />

Standard<br />

Standard<br />

PA4 ADC4 PTI_EN, TRACEDATA2 Standard<br />

PA5 ADC5<br />

PTI_DATA,<br />

TRACEDATA3<br />

nBOOTMODE (2)<br />

Standard<br />

PA6 TIM1_CH3 TIM1_CH3 High<br />

PA7<br />

TIM1_CH4, REG_EN<br />

(3) TIM1_CH4 High<br />

Doc ID 018587 Rev 2 62/215

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

Saved successfully!

Ooh no, something went wrong!