Nut/OS  4.10.3
API Reference
AT91SAM7X

Register definitions. More...

Collaboration diagram for AT91SAM7X:

Peripheral Identifiers and Interrupts

#define FIQ_ID   0
 Fast interrupt ID.
#define SYSC_ID   1
 System interrupt ID.
#define PIOA_ID   2
 Parallel I/O controller ID.
#define ADC_ID   4
 Analog to digital converter ID.
#define SPI0_ID   5
 Serial peripheral interface 0 ID.
#define US0_ID   6
 USART 0 ID.
#define US1_ID   7
 USART 1 ID.
#define SSC_ID   8
 Synchronous serial controller ID.
#define TWI_ID   9
 Two-wire interface ID.
#define PWMC_ID   10
 PWM controller ID.
#define UDP_ID   11
 USB device port ID.
#define TC0_ID   12
 Timer 0 ID.
#define TC1_ID   13
 Timer 1 ID.
#define TC2_ID   14
 Timer 2 ID.
#define IRQ0_ID   30
 External interrupt 0 ID.
#define IRQ1_ID   31
 External interrupt 1 ID.

Historical SPI0 Peripheral Multiplexing Names

#define SPI0_NPCS0_PA11A   11
 Port bit number on PIO-A Perpheral A.
#define SPI0_NPCS1_PA09B   9
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS1_PA31A   31
 Port bit number on PIO-A Perpheral A.
#define SPI0_NPCS2_PA10B   10
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS2_PA30B   30
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS3_PA03B   3
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS3_PA05B   5
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS3_PA22B   22
 Port bit number on PIO-A Perpheral B.
#define SPI0_MISO_PA12A   12
 Port bit number on PIO-A Perpheral A.
#define SPI0_MOSI_PA13A   13
 Port bit number on PIO-A Perpheral A.
#define SPI0_SPCK_PA14A   14
 Port bit number on PIO-A Perpheral A.

USART Peripheral Multiplexing

#define PA5_RXD0_A   5
#define PA6_TXD0_A   6
#define PA2_SCK0_B   2
#define PA7_RTS0_A   7
#define PA8_CTS0_A   8
#define PA21_RXD1_A   21
#define PA22_TXD1_A   22
#define PA23_SCK1_A   23
#define PA24_RTS1_A   24
#define PA25_CTS1_A   25
#define PB26_DCD1_A   26
#define PB28_DSR1_A   28
#define PB27_DTR1_A   27
#define PB29_RI1_A   29

SPI Peripheral Multiplexing

#define PA12_SPI0_MISO_A   12
#define PA13_SPI0_MOSI_A   13
#define PA14_SPI0_SPCK_A   14
#define PA11_SPI0_NPCS0_A   11
#define PA9_SPI0_NPCS1_B   9
#define PA31_SPI0_NPCS1_A   31
#define PA10_SPI0_NPCS2_B   10
#define PB30_SPI0_NPCS2_B   30
#define PA3_SPI0_NPCS3_B   3
#define PA5_SPI0_NPCS3_B   5
#define PA22_SPI0_NPCS3_B   22
#define SPI0_PINS   _BV(PA12_SPI0_MISO_A) | _BV(PA13_SPI0_MOSI_A) | _BV(PA14_SPI0_SPCK_A)
#define SPI0_PIO_BASE   PIOA_BASE
#define SPI0_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS0_PIN   _BV(PA11_SPI0_NPCS0_A)
#define SPI0_CS0_PIO_BASE   PIOA_BASE
#define SPI0_CS0_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS1_PIN   _BV(PA9_SPI0_NPCS1_B)
#define SPI0_CS1_PIO_BASE   PIOA_BASE
#define SPI0_CS1_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS2_PIN   _BV(PA10_SPI0_NPCS2_B)
#define SPI0_CS2_PIO_BASE   PIOA_BASE
#define SPI0_CS2_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS3_PIN   _BV(PA3_SPI0_NPCS3_B)
#define SPI0_CS3_PIO_BASE   PIOA_BASE
#define SPI0_CS3_PSR_OFF   PIO_ASR_OFF

Debug Unit Peripheral Multiplexing

#define PA9_DRXD_A   9
#define PA10_DTXD_A   10

Synchronous Serial Controller Peripheral Multiplexing

#define PA17_TD_A   17
 Transmit data pin.
#define PA18_RD_A   18
 Receive data pin.
#define PA16_TK_A   16
 Transmit clock pin.
#define PA19_RK_A   19
 Receive clock pin.
#define PA15_TF_A   15
 Transmit frame sync. pin.
#define PA20_RF_A   20
 Receive frame sync. pin.

Two Wire Interface Peripheral Multiplexing

#define PA3_TWD_A   3
 Two wire serial data pin.
#define PA4_TWCK_A   4
 Two wire serial clock pin.

Timer/Counter Peripheral Multiplexing

#define PA0_TIOA0_B   0
#define PA1_TIOB0_B   1
#define PA4_TCLK0_B   4
#define PA15_TIOA1_B   15
#define PA16_TIOB1_B   16
#define PA28_TCLK1_B   28
#define PA26_TIOA2_B   26
#define PA27_TIOB2_B   27
#define PA29_TCLK2_B   29

Clocks, Oscillators and PLLs Peripheral Multiplexing

#define PA6_PCK0_B   6
#define PA17_PCK1_B   17
#define PA21_PCK1_B   21
#define PA18_PCK2_B   18
#define PA31_PCK2_B   31

Advanced Interrupt Controller Peripheral Multiplexing

#define PA19_FIQ_B   19
#define PA20_IRQ0_B   20
#define PA30_IRQ1_A   30

ADC Interface Peripheral Multiplexing

#define PA8_ADTRG_B   8
 ADC trigger pin.

PWM Peripheral Multiplexing

#define PA0_PWM0_A   0
#define PA23_PWM0_B   23
#define PA1_PWM1_A   1
#define PA24_PWM1_B   24
#define PA2_PWM2_A   2
#define PA13_PWM2_B   13
#define PA25_PWM2_B   25
#define PA7_PWM3_B   7
#define PA14_PWM3_B   14

Peripheral Identifiers and Interrupts

#define FIQ_ID   0
 Fast interrupt ID.
#define SYSC_ID   1
 System controller interrupt.
#define PIOA_ID   2
 Parallel I/O controller ID.
#define PIOB_ID   3
 Parallel I/O controller ID.
#define SPI0_ID   4
 Serial peripheral interface 0 ID.
#define SPI1_ID   5
 Serial peripheral interface 1 ID.
#define US0_ID   6
 USART 0 ID.
#define US1_ID   7
 USART 1 ID.
#define SSC_ID   8
 Synchronous serial controller ID.
#define TWI_ID   9
 Two-wire interface ID.
#define PWMC_ID   10
 PWM controller ID.
#define UDP_ID   11
 USB device port ID.
#define TC0_ID   12
 Timer 0 ID.
#define TC1_ID   13
 Timer 1 ID.
#define TC2_ID   14
 Timer 2 ID.
#define CAN_ID   15
 CAN controller ID.
#define EMAC_ID   16
 Ethernet MAC ID.
#define ADC_ID   17
 Analog to digital converter ID.
#define IRQ0_ID   30
 External interrupt 0 ID.
#define IRQ1_ID   31
 External interrupt 1 ID.

Historical SPI0 Peripheral Multiplexing Names

#define SPI0_NPCS0_PA12A   12
 Port bit number on PIO-A Perpheral A.
#define SPI0_NPCS1_PA13A   13
 Port bit number on PIO-A Perpheral A.
#define SPI0_NPCS1_PA07B   7
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS1_PB13B   13
 Port bit number on PIO-B Perpheral B.
#define SPI0_NPCS2_PA14A   14
 Port bit number on PIO-A Perpheral A.
#define SPI0_NPCS2_PA08B   8
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS2_PB14B   14
 Port bit number on PIO-B Perpheral B.
#define SPI0_NPCS3_PA15A   15
 Port bit number on PIO-A Perpheral A.
#define SPI0_NPCS3_PA09B   9
 Port bit number on PIO-A Perpheral B.
#define SPI0_NPCS3_PB17B   17
 Port bit number on PIO-B Perpheral B.
#define SPI0_MISO_PA16A   16
 Port bit number on PIO-A Perpheral A.
#define SPI0_MOSI_PA17A   17
 Port bit number on PIO-A Perpheral A.
#define SPI0_SPCK_PA18A   18
 Port bit number on PIO-A Perpheral A.

USART Peripheral Multiplexing

#define PA0_RXD0_A   0
#define PA1_TXD0_A   1
#define PA2_SCK0_A   2
#define PA3_RTS0_A   3
#define PA4_CTS0_A   4
#define PA5_RXD1_A   5
#define PA6_TXD1_A   6
#define PA7_SCK1_A   7
#define PA8_RTS1_A   8
#define PA9_CTS1_A   9
#define PB23_DCD1_B   23
#define PB24_DSR1_B   24
#define PB25_DTR1_B   25
#define PB26_RI1_B   26

SPI Peripheral Multiplexing

#define PA16_SPI0_MISO_A   16
#define PA17_SPI0_MOSI_A   17
#define PA18_SPI0_SPCK_A   18
#define PA12_SPI0_NPCS0_A   12
#define PA13_SPI0_NPCS1_A   13
#define PA7_SPI0_NPCS1_B   7
#define PA14_SPI0_NPCS2_A   14
#define PB14_SPI0_NPCS2_B   14
#define PA8_SPI0_NPCS2_B   8
#define PA15_SPI0_NPCS3_A   15
#define PA9_SPI0_NPCS3_B   9
#define SPI0_PINS   _BV(PA16_SPI0_MISO_A) | _BV(PA17_SPI0_MOSI_A) | _BV(PA18_SPI0_SPCK_A)
#define SPI0_PIO_BASE   PIOA_BASE
#define SPI0_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS0_PIN   _BV(PA12_SPI0_NPCS0_A)
#define SPI0_CS0_PIO_BASE   PIOA_BASE
#define SPI0_CS0_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS1_PIN   _BV(PA13_SPI0_NPCS1_A)
#define SPI0_CS1_PIO_BASE   PIOA_BASE
#define SPI0_CS1_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS2_PIN   _BV(PA14_SPI0_NPCS2_A)
#define SPI0_CS2_PIO_BASE   PIOA_BASE
#define SPI0_CS2_PSR_OFF   PIO_ASR_OFF
#define SPI0_CS3_PIN   _BV(PA15_SPI0_NPCS3_A)
#define SPI0_CS3_PIO_BASE   PIOA_BASE
#define SPI0_CS3_PSR_OFF   PIO_ASR_OFF
#define PA24_SPI1_MISO_B   24
#define PA23_SPI1_MOSI_B   23
#define PA22_SPI1_SPCK_B   22
#define PA21_SPI1_NPCS0_B   21
#define PA25_SPI1_NPCS1_B   25
#define PB13_SPI0_NPCS1_B   13
#define PA2_SPI1_NPCS1_B   2
#define PB10_SPI1_NPCS1_B   10
#define PA26_SPI1_NPCS2_B   26
#define PA3_SPI1_NPCS2_B   3
#define PB11_SPI1_NPCS2_B   11
#define PB17_SPI0_NPCS3_B   17
#define PA4_SPI1_NPCS3_B   4
#define PA29_SPI1_NPCS3_B   29
#define PB16_SPI1_NPCS3_B   16
#define SPI1_PINS   _BV(PA24_SPI1_MISO_B) | _BV(PA23_SPI1_MOSI_B) | _BV(PA22_SPI1_SPCK_B)
#define SPI1_PIO_BASE   PIOA_BASE
#define SPI1_PSR_OFF   PIO_BSR_OFF
#define SPI1_CS0_PIN   _BV(PA21_SPI1_NPCS0_B)
#define SPI1_CS0_PIO_BASE   PIOA_BASE
#define SPI1_CS0_PSR_OFF   PIO_BSR_OFF
#define SPI1_CS1_PIN   _BV(PA25_SPI1_NPCS1_B)
#define SPI1_CS1_PIO_BASE   PIOA_BASE
#define SPI1_CS1_PSR_OFF   PIO_BSR_OFF
#define SPI1_CS2_PIN   _BV(PA26_SPI1_NPCS2_B)
#define SPI1_CS2_PIO_BASE   PIOA_BASE
#define SPI1_CS2_PSR_OFF   PIO_BSR_OFF
#define SPI1_CS3_PIN   _BV(PA29_SPI1_NPCS3_B)
#define SPI1_CS3_PIO_BASE   PIOA_BASE
#define SPI1_CS3_PSR_OFF   PIO_BSR_OFF

EMAC Interface Peripheral Multiplexing

#define PB0_ETXCK_EREFCK_A   0
#define PB1_ETXEN_A   1
#define PB2_ETX0_A   2
#define PB3_ETX1_A   3
#define PB4_ECRS_A   4
#define PB5_ERX0_A   5
#define PB6_ERX1_A   6
#define PB7_ERXER_A   7
#define PB8_EMDC_A   8
#define PB9_EMDIO_A   9
#define PB10_ETX2_A   10
#define PB11_ETX3_A   11
#define PB12_ETXER_A   12
#define PB13_ERX2_A   13
#define PB14_ERX3_A   14
#define PB15_ERXDV_ECRSDV_A   15
#define PB16_ECOL_A   16
#define PB17_ERXCK_A   17
#define PB18_EF100_A   18

Debug Unit Peripheral Multiplexing

#define PA27_DRXD_A   27
#define PA28_DTXD_A   28

Synchronous Serial Controller Peripheral Multiplexing

#define PA23_TD_A   23
 Transmit data pin.
#define PA24_RD_A   24
 Receive data pin.
#define PA22_TK_A   22
 Transmit clock pin.
#define PA25_RK_A   25
 Receive clock pin.
#define PA21_TF_A   21
 Transmit frame sync. pin.
#define PA26_RF_A   26
 Receive frame sync. pin.

Two Wire Interface Peripheral Multiplexing

#define PA10_TWD_A   10
 Two wire serial data pin.
#define PA11_TWCK_A   11
 Two wire serial clock pin.

Timer/Counter Peripheral Multiplexing

#define PB23_TIOA0_A   23
#define PB24_TIOB0_A   24
#define PB12_TCLK0_B   12
#define PB25_TIOA1_A   25
#define PB26_TIOB1_A   26
#define PB19_TCLK1_B   19
#define PB27_TIOA2_A   27
#define PB28_TIOB2_A   28
#define PA15_TCLK2_B   15

Clocks, Oscillators and PLLs Peripheral Multiplexing

#define PB0_PCK0_B   0
#define PB20_PCK0_B   20
#define PA13_PCK1_B   13
#define PB29_PCK1_A   29
#define PB21_PCK1_B   21
#define PA30_PCK2_B   30
#define PB30_PCK2_A   30
#define PB22_PCK2_B   22
#define PA27_PCK3_B   27

Advanced Interrupt Controller Peripheral Multiplexing

#define PA29_FIQ_A   29
#define PA30_IRQ0_A   30
#define PA14_IRQ1_B   14

ADC Interface Peripheral Multiplexing

#define PB18_ADTRG_B   18
 ADC trigger pin.

CAN Interface Peripheral Multiplexing

#define PA19_CANRX_A   19
#define PA20_CANTX_A   20

PWM Peripheral Multiplexing

#define PB19_PWM0_A   19
#define PB27_PWM0_B   27
#define PB20_PWM1_A   20
#define PB28_PWM1_B   28
#define PB21_PWM2_A   21
#define PB29_PWM2_B   29
#define PB22_PWM3_A   22
#define PB30_PWM3_B   30

Detailed Description

Register definitions.


Define Documentation

#define FIQ_ID   0

Fast interrupt ID.

Definition at line 126 of file at91sam7s.h.

#define SYSC_ID   1

System interrupt ID.

Definition at line 127 of file at91sam7s.h.

#define PIOA_ID   2

Parallel I/O controller ID.

Definition at line 128 of file at91sam7s.h.

Referenced by GpioPortConfigSet().

#define ADC_ID   4

Analog to digital converter ID.

Definition at line 130 of file at91sam7s.h.

Referenced by ADCInit().

#define SPI0_ID   5

Serial peripheral interface 0 ID.

Definition at line 131 of file at91sam7s.h.

Referenced by At91Spi0Init(), At91SpiBus0Select(), and Avr32Spi0Init().

#define US0_ID   6

USART 0 ID.

Definition at line 132 of file at91sam7s.h.

#define US1_ID   7

USART 1 ID.

Definition at line 133 of file at91sam7s.h.

Referenced by AhdlcAt91Init().

#define SSC_ID   8

Synchronous serial controller ID.

Definition at line 134 of file at91sam7s.h.

#define TWI_ID   9

Two-wire interface ID.

Definition at line 135 of file at91sam7s.h.

Referenced by TwInit().

#define PWMC_ID   10

PWM controller ID.

Definition at line 136 of file at91sam7s.h.

#define UDP_ID   11

USB device port ID.

Definition at line 137 of file at91sam7s.h.

#define TC0_ID   12

Timer 0 ID.

Definition at line 138 of file at91sam7s.h.

Referenced by NutRegisterTimer().

#define TC1_ID   13

Timer 1 ID.

Definition at line 139 of file at91sam7s.h.

#define TC2_ID   14

Timer 2 ID.

Definition at line 140 of file at91sam7s.h.

#define IRQ0_ID   30

External interrupt 0 ID.

Definition at line 142 of file at91sam7s.h.

Referenced by AsixInit(), and NicRxLanc().

#define IRQ1_ID   31

External interrupt 1 ID.

Definition at line 143 of file at91sam7s.h.

#define SPI0_NPCS0_PA11A   11

Port bit number on PIO-A Perpheral A.

Definition at line 148 of file at91sam7s.h.

#define SPI0_NPCS1_PA09B   9

Port bit number on PIO-A Perpheral B.

Definition at line 149 of file at91sam7s.h.

#define SPI0_NPCS1_PA31A   31

Port bit number on PIO-A Perpheral A.

Definition at line 150 of file at91sam7s.h.

#define SPI0_NPCS2_PA10B   10

Port bit number on PIO-A Perpheral B.

Definition at line 151 of file at91sam7s.h.

#define SPI0_NPCS2_PA30B   30

Port bit number on PIO-A Perpheral B.

Definition at line 152 of file at91sam7s.h.

#define SPI0_NPCS3_PA03B   3

Port bit number on PIO-A Perpheral B.

Definition at line 153 of file at91sam7s.h.

#define SPI0_NPCS3_PA05B   5

Port bit number on PIO-A Perpheral B.

Definition at line 154 of file at91sam7s.h.

#define SPI0_NPCS3_PA22B   22

Port bit number on PIO-A Perpheral B.

Definition at line 155 of file at91sam7s.h.

#define SPI0_MISO_PA12A   12

Port bit number on PIO-A Perpheral A.

Definition at line 156 of file at91sam7s.h.

#define SPI0_MOSI_PA13A   13

Port bit number on PIO-A Perpheral A.

Definition at line 157 of file at91sam7s.h.

#define SPI0_SPCK_PA14A   14

Port bit number on PIO-A Perpheral A.

Definition at line 158 of file at91sam7s.h.

#define PA5_RXD0_A   5

Definition at line 163 of file at91sam7s.h.

#define PA6_TXD0_A   6

Definition at line 164 of file at91sam7s.h.

#define PA2_SCK0_B   2

Definition at line 165 of file at91sam7s.h.

#define PA7_RTS0_A   7

Definition at line 166 of file at91sam7s.h.

#define PA8_CTS0_A   8

Definition at line 167 of file at91sam7s.h.

#define PA21_RXD1_A   21

Definition at line 169 of file at91sam7s.h.

#define PA22_TXD1_A   22

Definition at line 170 of file at91sam7s.h.

#define PA23_SCK1_A   23

Definition at line 171 of file at91sam7s.h.

#define PA24_RTS1_A   24

Definition at line 172 of file at91sam7s.h.

#define PA25_CTS1_A   25

Definition at line 173 of file at91sam7s.h.

#define PB26_DCD1_A   26

Definition at line 174 of file at91sam7s.h.

#define PB28_DSR1_A   28

Definition at line 175 of file at91sam7s.h.

#define PB27_DTR1_A   27

Definition at line 176 of file at91sam7s.h.

#define PB29_RI1_A   29

Definition at line 177 of file at91sam7s.h.

#define PA12_SPI0_MISO_A   12

Definition at line 182 of file at91sam7s.h.

#define PA13_SPI0_MOSI_A   13

Definition at line 183 of file at91sam7s.h.

#define PA14_SPI0_SPCK_A   14

Definition at line 184 of file at91sam7s.h.

#define PA11_SPI0_NPCS0_A   11

Definition at line 185 of file at91sam7s.h.

#define PA9_SPI0_NPCS1_B   9

Definition at line 186 of file at91sam7s.h.

#define PA31_SPI0_NPCS1_A   31

Definition at line 187 of file at91sam7s.h.

#define PA10_SPI0_NPCS2_B   10

Definition at line 188 of file at91sam7s.h.

#define PB30_SPI0_NPCS2_B   30

Definition at line 189 of file at91sam7s.h.

#define PA3_SPI0_NPCS3_B   3

Definition at line 190 of file at91sam7s.h.

#define PA5_SPI0_NPCS3_B   5

Definition at line 191 of file at91sam7s.h.

#define PA22_SPI0_NPCS3_B   22

Definition at line 192 of file at91sam7s.h.

#define SPI0_PINS   _BV(PA12_SPI0_MISO_A) | _BV(PA13_SPI0_MOSI_A) | _BV(PA14_SPI0_SPCK_A)

Definition at line 194 of file at91sam7s.h.

Referenced by At91Spi0Enable(), At91SpiBus0Deselect(), and At91SpiBus0Select().

#define SPI0_PIO_BASE   PIOA_BASE

Definition at line 195 of file at91sam7s.h.

Referenced by At91Spi0Enable(), At91SpiBus0Deselect(), and At91SpiBus0Select().

#define SPI0_PSR_OFF   PIO_ASR_OFF

Definition at line 196 of file at91sam7s.h.

Referenced by At91Spi0Enable(), and At91SpiBus0Select().

#define SPI0_CS0_PIN   _BV(PA11_SPI0_NPCS0_A)

Definition at line 198 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS0_PIO_BASE   PIOA_BASE

Definition at line 199 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS0_PSR_OFF   PIO_ASR_OFF

Definition at line 200 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS1_PIN   _BV(PA9_SPI0_NPCS1_B)

Definition at line 203 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS1_PIO_BASE   PIOA_BASE

Definition at line 204 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS1_PSR_OFF   PIO_ASR_OFF

Definition at line 205 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS2_PIN   _BV(PA10_SPI0_NPCS2_B)

Definition at line 209 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS2_PIO_BASE   PIOA_BASE

Definition at line 210 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS2_PSR_OFF   PIO_ASR_OFF

Definition at line 211 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS3_PIN   _BV(PA3_SPI0_NPCS3_B)

Definition at line 215 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS3_PIO_BASE   PIOA_BASE

Definition at line 216 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define SPI0_CS3_PSR_OFF   PIO_ASR_OFF

Definition at line 217 of file at91sam7s.h.

Referenced by At91Spi0InitChipSelects().

#define PA9_DRXD_A   9

Definition at line 224 of file at91sam7s.h.

#define PA10_DTXD_A   10

Definition at line 225 of file at91sam7s.h.

#define PA17_TD_A   17

Transmit data pin.

Definition at line 230 of file at91sam7s.h.

#define PA18_RD_A   18

Receive data pin.

Definition at line 231 of file at91sam7s.h.

#define PA16_TK_A   16

Transmit clock pin.

Definition at line 232 of file at91sam7s.h.

#define PA19_RK_A   19

Receive clock pin.

Definition at line 233 of file at91sam7s.h.

#define PA15_TF_A   15

Transmit frame sync. pin.

Definition at line 234 of file at91sam7s.h.

#define PA20_RF_A   20

Receive frame sync. pin.

Definition at line 235 of file at91sam7s.h.

#define PA3_TWD_A   3

Two wire serial data pin.

Definition at line 240 of file at91sam7s.h.

#define PA4_TWCK_A   4

Two wire serial clock pin.

Definition at line 241 of file at91sam7s.h.

#define PA0_TIOA0_B   0

Definition at line 246 of file at91sam7s.h.

#define PA1_TIOB0_B   1

Definition at line 247 of file at91sam7s.h.

#define PA4_TCLK0_B   4

Definition at line 248 of file at91sam7s.h.

#define PA15_TIOA1_B   15

Definition at line 250 of file at91sam7s.h.

#define PA16_TIOB1_B   16

Definition at line 251 of file at91sam7s.h.

#define PA28_TCLK1_B   28

Definition at line 252 of file at91sam7s.h.

#define PA26_TIOA2_B   26

Definition at line 254 of file at91sam7s.h.

#define PA27_TIOB2_B   27

Definition at line 255 of file at91sam7s.h.

#define PA29_TCLK2_B   29

Definition at line 256 of file at91sam7s.h.

#define PA6_PCK0_B   6

Definition at line 261 of file at91sam7s.h.

#define PA17_PCK1_B   17

Definition at line 262 of file at91sam7s.h.

#define PA21_PCK1_B   21

Definition at line 263 of file at91sam7s.h.

#define PA18_PCK2_B   18

Definition at line 264 of file at91sam7s.h.

#define PA31_PCK2_B   31

Definition at line 265 of file at91sam7s.h.

#define PA19_FIQ_B   19

Definition at line 270 of file at91sam7s.h.

#define PA20_IRQ0_B   20

Definition at line 271 of file at91sam7s.h.

#define PA30_IRQ1_A   30

Definition at line 272 of file at91sam7s.h.

#define PA8_ADTRG_B   8

ADC trigger pin.

Definition at line 277 of file at91sam7s.h.

#define PA0_PWM0_A   0

Definition at line 282 of file at91sam7s.h.

#define PA23_PWM0_B   23

Definition at line 283 of file at91sam7s.h.

#define PA1_PWM1_A   1

Definition at line 284 of file at91sam7s.h.

#define PA24_PWM1_B   24

Definition at line 285 of file at91sam7s.h.

#define PA2_PWM2_A   2

Definition at line 286 of file at91sam7s.h.

#define PA13_PWM2_B   13

Definition at line 287 of file at91sam7s.h.

#define PA25_PWM2_B   25

Definition at line 288 of file at91sam7s.h.

#define PA7_PWM3_B   7

Definition at line 289 of file at91sam7s.h.

#define PA14_PWM3_B   14

Definition at line 290 of file at91sam7s.h.

#define FIQ_ID   0

Fast interrupt ID.

Definition at line 176 of file at91sam7x.h.

#define SYSC_ID   1

System controller interrupt.

Definition at line 177 of file at91sam7x.h.

#define PIOA_ID   2

Parallel I/O controller ID.

Definition at line 178 of file at91sam7x.h.

#define PIOB_ID   3

Parallel I/O controller ID.

Definition at line 179 of file at91sam7x.h.

#define SPI0_ID   4

Serial peripheral interface 0 ID.

Definition at line 180 of file at91sam7x.h.

#define SPI1_ID   5

Serial peripheral interface 1 ID.

Definition at line 181 of file at91sam7x.h.

#define US0_ID   6

USART 0 ID.

Definition at line 182 of file at91sam7x.h.

#define US1_ID   7

USART 1 ID.

Definition at line 183 of file at91sam7x.h.

#define SSC_ID   8

Synchronous serial controller ID.

Definition at line 184 of file at91sam7x.h.

#define TWI_ID   9

Two-wire interface ID.

Definition at line 185 of file at91sam7x.h.

#define PWMC_ID   10

PWM controller ID.

Definition at line 186 of file at91sam7x.h.

#define UDP_ID   11

USB device port ID.

Definition at line 187 of file at91sam7x.h.

#define TC0_ID   12

Timer 0 ID.

Definition at line 188 of file at91sam7x.h.

#define TC1_ID   13

Timer 1 ID.

Definition at line 189 of file at91sam7x.h.

#define TC2_ID   14

Timer 2 ID.

Definition at line 190 of file at91sam7x.h.

#define CAN_ID   15

CAN controller ID.

Definition at line 191 of file at91sam7x.h.

#define EMAC_ID   16

Ethernet MAC ID.

Definition at line 192 of file at91sam7x.h.

#define ADC_ID   17

Analog to digital converter ID.

Definition at line 193 of file at91sam7x.h.

#define IRQ0_ID   30

External interrupt 0 ID.

Definition at line 194 of file at91sam7x.h.

#define IRQ1_ID   31

External interrupt 1 ID.

Definition at line 195 of file at91sam7x.h.

#define SPI0_NPCS0_PA12A   12

Port bit number on PIO-A Perpheral A.

Definition at line 200 of file at91sam7x.h.

#define SPI0_NPCS1_PA13A   13

Port bit number on PIO-A Perpheral A.

Definition at line 201 of file at91sam7x.h.

#define SPI0_NPCS1_PA07B   7

Port bit number on PIO-A Perpheral B.

Definition at line 202 of file at91sam7x.h.

#define SPI0_NPCS1_PB13B   13

Port bit number on PIO-B Perpheral B.

Definition at line 203 of file at91sam7x.h.

#define SPI0_NPCS2_PA14A   14

Port bit number on PIO-A Perpheral A.

Definition at line 204 of file at91sam7x.h.

#define SPI0_NPCS2_PA08B   8

Port bit number on PIO-A Perpheral B.

Definition at line 205 of file at91sam7x.h.

#define SPI0_NPCS2_PB14B   14

Port bit number on PIO-B Perpheral B.

Definition at line 206 of file at91sam7x.h.

#define SPI0_NPCS3_PA15A   15

Port bit number on PIO-A Perpheral A.

Definition at line 207 of file at91sam7x.h.

#define SPI0_NPCS3_PA09B   9

Port bit number on PIO-A Perpheral B.

Definition at line 208 of file at91sam7x.h.

#define SPI0_NPCS3_PB17B   17

Port bit number on PIO-B Perpheral B.

Definition at line 209 of file at91sam7x.h.

#define SPI0_MISO_PA16A   16

Port bit number on PIO-A Perpheral A.

Definition at line 210 of file at91sam7x.h.

#define SPI0_MOSI_PA17A   17

Port bit number on PIO-A Perpheral A.

Definition at line 211 of file at91sam7x.h.

#define SPI0_SPCK_PA18A   18

Port bit number on PIO-A Perpheral A.

Definition at line 212 of file at91sam7x.h.

#define PA0_RXD0_A   0

Definition at line 217 of file at91sam7x.h.

#define PA1_TXD0_A   1

Definition at line 218 of file at91sam7x.h.

#define PA2_SCK0_A   2

Definition at line 219 of file at91sam7x.h.

#define PA3_RTS0_A   3

Definition at line 220 of file at91sam7x.h.

#define PA4_CTS0_A   4

Definition at line 221 of file at91sam7x.h.

#define PA5_RXD1_A   5

Definition at line 223 of file at91sam7x.h.

#define PA6_TXD1_A   6

Definition at line 224 of file at91sam7x.h.

#define PA7_SCK1_A   7

Definition at line 225 of file at91sam7x.h.

#define PA8_RTS1_A   8

Definition at line 226 of file at91sam7x.h.

#define PA9_CTS1_A   9

Definition at line 227 of file at91sam7x.h.

#define PB23_DCD1_B   23

Definition at line 228 of file at91sam7x.h.

#define PB24_DSR1_B   24

Definition at line 229 of file at91sam7x.h.

#define PB25_DTR1_B   25

Definition at line 230 of file at91sam7x.h.

#define PB26_RI1_B   26

Definition at line 231 of file at91sam7x.h.

#define PA16_SPI0_MISO_A   16

Definition at line 236 of file at91sam7x.h.

#define PA17_SPI0_MOSI_A   17

Definition at line 237 of file at91sam7x.h.

#define PA18_SPI0_SPCK_A   18

Definition at line 238 of file at91sam7x.h.

#define PA12_SPI0_NPCS0_A   12

Definition at line 239 of file at91sam7x.h.

#define PA13_SPI0_NPCS1_A   13

Definition at line 240 of file at91sam7x.h.

#define PA7_SPI0_NPCS1_B   7

Definition at line 241 of file at91sam7x.h.

#define PA14_SPI0_NPCS2_A   14

Definition at line 242 of file at91sam7x.h.

#define PB14_SPI0_NPCS2_B   14

Definition at line 243 of file at91sam7x.h.

#define PA8_SPI0_NPCS2_B   8

Definition at line 244 of file at91sam7x.h.

#define PA15_SPI0_NPCS3_A   15

Definition at line 245 of file at91sam7x.h.

#define PA9_SPI0_NPCS3_B   9

Definition at line 246 of file at91sam7x.h.

#define SPI0_PINS   _BV(PA16_SPI0_MISO_A) | _BV(PA17_SPI0_MOSI_A) | _BV(PA18_SPI0_SPCK_A)

Definition at line 248 of file at91sam7x.h.

#define SPI0_PIO_BASE   PIOA_BASE

Definition at line 249 of file at91sam7x.h.

#define SPI0_PSR_OFF   PIO_ASR_OFF

Definition at line 250 of file at91sam7x.h.

#define SPI0_CS0_PIN   _BV(PA12_SPI0_NPCS0_A)

Definition at line 252 of file at91sam7x.h.

#define SPI0_CS0_PIO_BASE   PIOA_BASE

Definition at line 253 of file at91sam7x.h.

#define SPI0_CS0_PSR_OFF   PIO_ASR_OFF

Definition at line 254 of file at91sam7x.h.

#define SPI0_CS1_PIN   _BV(PA13_SPI0_NPCS1_A)

Definition at line 257 of file at91sam7x.h.

#define SPI0_CS1_PIO_BASE   PIOA_BASE

Definition at line 258 of file at91sam7x.h.

#define SPI0_CS1_PSR_OFF   PIO_ASR_OFF

Definition at line 259 of file at91sam7x.h.

#define SPI0_CS2_PIN   _BV(PA14_SPI0_NPCS2_A)

Definition at line 263 of file at91sam7x.h.

#define SPI0_CS2_PIO_BASE   PIOA_BASE

Definition at line 264 of file at91sam7x.h.

#define SPI0_CS2_PSR_OFF   PIO_ASR_OFF

Definition at line 265 of file at91sam7x.h.

#define SPI0_CS3_PIN   _BV(PA15_SPI0_NPCS3_A)

Definition at line 269 of file at91sam7x.h.

#define SPI0_CS3_PIO_BASE   PIOA_BASE

Definition at line 270 of file at91sam7x.h.

#define SPI0_CS3_PSR_OFF   PIO_ASR_OFF

Definition at line 271 of file at91sam7x.h.

#define PA24_SPI1_MISO_B   24

Definition at line 274 of file at91sam7x.h.

#define PA23_SPI1_MOSI_B   23

Definition at line 275 of file at91sam7x.h.

#define PA22_SPI1_SPCK_B   22

Definition at line 276 of file at91sam7x.h.

#define PA21_SPI1_NPCS0_B   21

Definition at line 277 of file at91sam7x.h.

#define PA25_SPI1_NPCS1_B   25

Definition at line 278 of file at91sam7x.h.

#define PB13_SPI0_NPCS1_B   13

Definition at line 279 of file at91sam7x.h.

#define PA2_SPI1_NPCS1_B   2

Definition at line 280 of file at91sam7x.h.

#define PB10_SPI1_NPCS1_B   10

Definition at line 281 of file at91sam7x.h.

#define PA26_SPI1_NPCS2_B   26

Definition at line 282 of file at91sam7x.h.

#define PA3_SPI1_NPCS2_B   3

Definition at line 283 of file at91sam7x.h.

#define PB11_SPI1_NPCS2_B   11

Definition at line 284 of file at91sam7x.h.

#define PB17_SPI0_NPCS3_B   17

Definition at line 285 of file at91sam7x.h.

#define PA4_SPI1_NPCS3_B   4

Definition at line 286 of file at91sam7x.h.

#define PA29_SPI1_NPCS3_B   29

Definition at line 287 of file at91sam7x.h.

#define PB16_SPI1_NPCS3_B   16

Definition at line 288 of file at91sam7x.h.

#define SPI1_PINS   _BV(PA24_SPI1_MISO_B) | _BV(PA23_SPI1_MOSI_B) | _BV(PA22_SPI1_SPCK_B)

Definition at line 290 of file at91sam7x.h.

#define SPI1_PIO_BASE   PIOA_BASE

Definition at line 291 of file at91sam7x.h.

#define SPI1_PSR_OFF   PIO_BSR_OFF

Definition at line 292 of file at91sam7x.h.

#define SPI1_CS0_PIN   _BV(PA21_SPI1_NPCS0_B)

Definition at line 294 of file at91sam7x.h.

#define SPI1_CS0_PIO_BASE   PIOA_BASE

Definition at line 295 of file at91sam7x.h.

#define SPI1_CS0_PSR_OFF   PIO_BSR_OFF

Definition at line 296 of file at91sam7x.h.

#define SPI1_CS1_PIN   _BV(PA25_SPI1_NPCS1_B)

Definition at line 299 of file at91sam7x.h.

#define SPI1_CS1_PIO_BASE   PIOA_BASE

Definition at line 300 of file at91sam7x.h.

#define SPI1_CS1_PSR_OFF   PIO_BSR_OFF

Definition at line 301 of file at91sam7x.h.

#define SPI1_CS2_PIN   _BV(PA26_SPI1_NPCS2_B)

Definition at line 305 of file at91sam7x.h.

#define SPI1_CS2_PIO_BASE   PIOA_BASE

Definition at line 306 of file at91sam7x.h.

#define SPI1_CS2_PSR_OFF   PIO_BSR_OFF

Definition at line 307 of file at91sam7x.h.

#define SPI1_CS3_PIN   _BV(PA29_SPI1_NPCS3_B)

Definition at line 311 of file at91sam7x.h.

#define SPI1_CS3_PIO_BASE   PIOA_BASE

Definition at line 312 of file at91sam7x.h.

#define SPI1_CS3_PSR_OFF   PIO_BSR_OFF

Definition at line 313 of file at91sam7x.h.

#define PB0_ETXCK_EREFCK_A   0

Definition at line 320 of file at91sam7x.h.

#define PB1_ETXEN_A   1

Definition at line 321 of file at91sam7x.h.

#define PB2_ETX0_A   2

Definition at line 322 of file at91sam7x.h.

#define PB3_ETX1_A   3

Definition at line 323 of file at91sam7x.h.

#define PB4_ECRS_A   4

Definition at line 324 of file at91sam7x.h.

#define PB5_ERX0_A   5

Definition at line 325 of file at91sam7x.h.

#define PB6_ERX1_A   6

Definition at line 326 of file at91sam7x.h.

#define PB7_ERXER_A   7

Definition at line 327 of file at91sam7x.h.

#define PB8_EMDC_A   8

Definition at line 328 of file at91sam7x.h.

#define PB9_EMDIO_A   9

Definition at line 329 of file at91sam7x.h.

#define PB10_ETX2_A   10

Definition at line 330 of file at91sam7x.h.

#define PB11_ETX3_A   11

Definition at line 331 of file at91sam7x.h.

#define PB12_ETXER_A   12

Definition at line 332 of file at91sam7x.h.

#define PB13_ERX2_A   13

Definition at line 333 of file at91sam7x.h.

#define PB14_ERX3_A   14

Definition at line 334 of file at91sam7x.h.

#define PB15_ERXDV_ECRSDV_A   15

Definition at line 335 of file at91sam7x.h.

#define PB16_ECOL_A   16

Definition at line 336 of file at91sam7x.h.

#define PB17_ERXCK_A   17

Definition at line 337 of file at91sam7x.h.

#define PB18_EF100_A   18

Definition at line 338 of file at91sam7x.h.

#define PA27_DRXD_A   27

Definition at line 343 of file at91sam7x.h.

#define PA28_DTXD_A   28

Definition at line 344 of file at91sam7x.h.

#define PA23_TD_A   23

Transmit data pin.

Definition at line 349 of file at91sam7x.h.

#define PA24_RD_A   24

Receive data pin.

Definition at line 350 of file at91sam7x.h.

#define PA22_TK_A   22

Transmit clock pin.

Definition at line 351 of file at91sam7x.h.

#define PA25_RK_A   25

Receive clock pin.

Definition at line 352 of file at91sam7x.h.

#define PA21_TF_A   21

Transmit frame sync. pin.

Definition at line 353 of file at91sam7x.h.

#define PA26_RF_A   26

Receive frame sync. pin.

Definition at line 354 of file at91sam7x.h.

#define PA10_TWD_A   10

Two wire serial data pin.

Definition at line 359 of file at91sam7x.h.

#define PA11_TWCK_A   11

Two wire serial clock pin.

Definition at line 360 of file at91sam7x.h.

#define PB23_TIOA0_A   23

Definition at line 365 of file at91sam7x.h.

#define PB24_TIOB0_A   24

Definition at line 366 of file at91sam7x.h.

#define PB12_TCLK0_B   12

Definition at line 367 of file at91sam7x.h.

#define PB25_TIOA1_A   25

Definition at line 369 of file at91sam7x.h.

#define PB26_TIOB1_A   26

Definition at line 370 of file at91sam7x.h.

#define PB19_TCLK1_B   19

Definition at line 371 of file at91sam7x.h.

#define PB27_TIOA2_A   27

Definition at line 373 of file at91sam7x.h.

#define PB28_TIOB2_A   28

Definition at line 374 of file at91sam7x.h.

#define PA15_TCLK2_B   15

Definition at line 375 of file at91sam7x.h.

#define PB0_PCK0_B   0

Definition at line 380 of file at91sam7x.h.

#define PB20_PCK0_B   20

Definition at line 381 of file at91sam7x.h.

#define PA13_PCK1_B   13

Definition at line 382 of file at91sam7x.h.

#define PB29_PCK1_A   29

Definition at line 383 of file at91sam7x.h.

#define PB21_PCK1_B   21

Definition at line 384 of file at91sam7x.h.

#define PA30_PCK2_B   30

Definition at line 385 of file at91sam7x.h.

#define PB30_PCK2_A   30

Definition at line 386 of file at91sam7x.h.

#define PB22_PCK2_B   22

Definition at line 387 of file at91sam7x.h.

#define PA27_PCK3_B   27

Definition at line 388 of file at91sam7x.h.

#define PA29_FIQ_A   29

Definition at line 393 of file at91sam7x.h.

#define PA30_IRQ0_A   30

Definition at line 394 of file at91sam7x.h.

#define PA14_IRQ1_B   14

Definition at line 395 of file at91sam7x.h.

#define PB18_ADTRG_B   18

ADC trigger pin.

Definition at line 400 of file at91sam7x.h.

#define PA19_CANRX_A   19

Definition at line 405 of file at91sam7x.h.

#define PA20_CANTX_A   20

Definition at line 406 of file at91sam7x.h.

#define PB19_PWM0_A   19

Definition at line 411 of file at91sam7x.h.

#define PB27_PWM0_B   27

Definition at line 412 of file at91sam7x.h.

#define PB20_PWM1_A   20

Definition at line 413 of file at91sam7x.h.

#define PB28_PWM1_B   28

Definition at line 414 of file at91sam7x.h.

#define PB21_PWM2_A   21

Definition at line 415 of file at91sam7x.h.

#define PB29_PWM2_B   29

Definition at line 416 of file at91sam7x.h.

#define PB22_PWM3_A   22

Definition at line 417 of file at91sam7x.h.

#define PB30_PWM3_B   30

Definition at line 418 of file at91sam7x.h.