Datasheet

SAM9G20
DS60001516A-page 32 2017 Microchip Technology Inc.
Note: Setting AIC, SYSC, UHP, ADC and IRQ0-2 bits in the clock set/clear registers of the PMC has no effect. The ADC clock is
automatically started for the first conversion. In Sleep Mode the ADC clock is automatically stopped after each conversion.
9.2.1 Peripheral Interrupts and Clock Control
9.2.1.1 System Interrupt
The System Interrupt in Source 1 is the wired-OR of the interrupt signals coming from:
the SDRAM Controller
the Debug Unit
the Periodic Interval Timer
the Real-time Timer
the Watchdog Timer
the Reset Controller
the Power Management Controller
The clock of these peripherals cannot be deactivated and Peripheral ID 1 can only be used within the Advanced Interrupt Controller.
9.2.1.2 External Interrupts
All external interrupt signals, i.e., the Fast Interrupt signal FIQ or the Interrupt signals IRQ0 to IRQ2, use a dedicated Peripheral ID. How-
ever, there is no clock control associated with these peripheral IDs.
9.3 Peripheral Signal Multiplexing on I/O Lines
The SAM9G20 features three PIO controllers (PIOA, PIOB, PIOC) that multiplex the I/O lines of the peripheral set.
Each PIO Controller controls up to 32 lines. Each line can be assigned to one of two peripheral functions, A or B. Table 9-2, Table 9-3 and
Table 9-4 define how the I/O lines of the peripherals A and B are multiplexed on the PIO controllers. The two columns “Function” and “Com-
ments” have been inserted in this table for the user’s own comments; they may be used to track how pins are defined in an application.
Note that some peripheral functions which are output only might be duplicated within both tables.
The column “Reset State” indicates whether the PIO Line resets in I/O mode or in peripheral mode. If I/O appears, the PIO Line resets in
input with the pull-up enabled, so that the device is maintained in a static state as soon as the reset is released. As a result, the bit corre-
sponding to the PIO Line in the PIO Controller PIO Status Register (PIO_PSR) resets low.
If a signal name appears in the “Reset State” column, the PIO Line is assigned to this function and the corresponding bit in PIO_PSR
resets high. This is the case of pins controlling memories, in particular the address lines, which require the pin to be driven as soon as the
reset is released. Note that the pull-up resistor is also enabled in this case.
29 AIC Advanced Interrupt Controller IRQ0
30 AIC Advanced Interrupt Controller IRQ1
31 AIC Advanced Interrupt Controller IRQ2
Table 9-1: Peripheral Identifiers (Continued)
Peripheral ID Peripheral Mnemonic Peripheral Name External Interrupt