
EM358x
Rev. 0.4
59
Two of the four external interrupts, IRQA and IRQB, have fixed pin assignments. The other two external
interrupts, IRQC and IRQD, can use any GPIO pin. The GPIO_IRQCSEL and GPIO_IRQDSEL registers specify
the GPIO pins assigned to IRQC and IRQD, respectively. Table 7-4 shows how the GPIO_IRQCSEL and
GPIO_IRQDSEL register values select the GPIO pin used for the external interrupt.
Table 7-4. IRQC/D GPIO Selection
GPIO_IRQxSEL
GPIO
GPIO_IRQxSEL
GPIO
GPIO_IRQxSEL
GPIO
0
PA0
8
PB0
16
PC0
1
PA1
9
PB1
17
PC1
2
PA2
10
PB2
18
PC2
3
PA3
11
PB3
19
PC3
4
PA4
12
PB4
20
PC4
5
PA5
13
PB5
21
PC5
6
PA6
14
PB6
22
PC6
7
PA7
15
PB7
23
PC7
In some cases, it may be useful to assign IRQC or IRQD to an input also in use by a peripheral, for example to
generate an interrupt from the slave select signal (nSSEL) in an SPI slave mode interface.
Refer to Chapter 3, Interrupt System, for further information regarding the EM358x interrupt system.
7.9 Debug Control and Status
Two GPIO registers are largely concerned with debugger functions. GPIO_DBGCFG can disable debugger
operation, but has other miscellaneous control bits as well. GPIO_DBGSTAT, a read-only register, returns status
related to debugger activity (GPIO_FORCEDBG and GPIO_SWEN), as well a flag (GPIO_BOOTMODE)
indicating whether nBOOTMODE was asserted at the last power-on or nRESET-based reset.
7.10 GPIO Signal Assignment Summary
The GPIO signal assignments are shown in Table 7-5.
Содержание EMBER EM358 series
Страница 2: ...EM358x 2 Rev 0 4 ...
Страница 7: ...EM358x Rev 0 4 7 ...