Gpio pins
Gpio pins
Gpio pins
Gpio pins
FUNCTIONALITY OF PINS
PINSEL0 Pin function select
  Read/Write 0x0000 0000


PINSEL1 Pin function select
  Read/Write 0x0000 0000


PINSEL2 Pin function select
  Read/Write 0x0000 0000
PIN FUNCTION SELECT REGISTER 0
 (Pin of
 Select          Port Pin    sélection Function
 Résister)                        line
     1:0 (19)        P0.0           00    GPIO Port 0.0
                                  01    TXD (UART0)
                                  10    PWM1
                                  11    Reserved

    3:2 (21)         P0.1           00      GPIO Port 0.1
                                01        RxD (UART0)
                                10        PWM3
                                11        EINT0
5:4 (22)   P0.2      00   GPIO Port 0.2
               01       SCL0 (I2C0)
               10       Capture 0.0 (Timer 0)
               11       Reserved

7:6 (26)   P0.3       00    GPIO Port 0.3
                   01    SDA0 (I2C0)
                   10    Match 0.0 (Timer 0)
                    11  EINT1
9:8 (27)     P0.4        00     GPIO Port 0.4 0
                     01        SCK0 (SPI0)
                     10        Capture 0.1 (Timer 0)
                     11        AD0.6

11:10 (29)   P0.5         00      GPIO Port 0.5 0
                     01         MISO0 (SPI0)
                     10         Match 0.1 (Timer 0)
                     11         AD0.7
 13:12 (30)   P0.6        00      GPIO Port 0.6 0
                      01        MOSI0 (SPI0)
                      10        Capture 0.2 (Timer 0)
                      11        Reserved[1][2]
                                or AD1.0[3]

 15:14 (31)   P0.7        00      GPIO Port 0.7
                      01        SSEL0 (SPI0)
                      10        PWM2
                      11        EINT2
 17:16 (33)   P0.8        00      GPIO Port 0.8
                      01        TXD UART1
                      10        PWM4
                      11        Reserved[1][2]
                                 or AD1.1[3]

 19:18 (34)    P0.9 00    GPIO Port 0.9
                   01   RxD (UART1)
                   10   PWM6
                   11   EINT3
   21:20 (35)   P0.10        00   GPIO Port 0.10
                         01     Reserved[1][2] or RTS
                                (UART1)[3]
                         10     Capture 1.0 (Timer 1)
                         11     Reserved[1][2]
                               orAD1.2[3]

   23:22 (37)   P0.11        00      GPIO Port 0.11
                         01        Reserved[1][2] or CTS
                                            (UART1)[3]
                         10        Capture 1.1 (Timer 1)
                         11        SCL1 (I2C1)
   25:24 (38)       P0.12           00    GPIO Port
    0.12 0
                         01   Reserved[1][2] or DSR
                              (UART1)[3]
                         10    Match 1.0 (Timer 1)
                         11    Reserved[1][2]
                              or AD1.3[3]
   27:26 (39)   P0.13        00     GPIO Port 0.13 0
                         01    Reserved[1][2] or DTR
                              (UART1)[3]
                         10    Match 1.1 (Timer 1)
                         11    Reserved[1][2]
                                orAD1.4[3]
   29:28 (41)   P0.14         00    GPIO Port 0.14 0
                         01    Reserved[1][2] or DCD
                              (UART1)[3]
                         10    EINT1
                         11    SDA1 (I2C1)

   31:30 (45)   P0.15        00     GPIO Port 0.15 0
                         01    Reserved[1][2] or RI
                              (UART1)[3]
                         10    EINT2
                         11    Reserved[1][2]
                                orAD1.5[3]
   29:28   P0.14   00    GPIO Port 0.14 0
                    01     Reserved[1][2] or DCD
                          (UART1)[3]
                    10     EINT1
                     11    SDA1 (I2C1)

   31:30   P0.15   00    GPIO Port 0.15 0
                    01     Reserved[1][2] or RI
                          (UART1)[3]
                    10     EINT2
                    11    Reserved[1][2]
                           orAD1.5[3]
PIN FUNCTION SELECT REGISTER 1
  1:0 (46)   P0.16        00 GPIO Port 0.16 0
                      01   EINT0
                      10   Match 0.2 (Timer 0)
                      11   Capture 0.2 (Timer 0)

  3:2 (47)   P0.17        00    GPIO Port 0.15 0
                      01   Capture 1.2 (Timer 1)
                      10   SCK1 (SSP)
                      11   Match 1.2 (Timer 1)
5:4(53)    P0.18        00   GPIO Port 0.18 0
                    01   Capture 1.3 (Timer 1)
                    10   Match 0.2 (Timer 0)
                    11   MISO1 (SSP)

7:6 (54)   P0.19        00    GPIO Port 0.19 0
                    01    Match 1.2 (Timer 1)
                    10    MOSI1 (SSP)
                    11   Capture 1.2 (Timer 1)
 9:8 (55) P0.20     00    GPIO Port 0.20 0
                     01    Match 1.3 (Timer 1)
                     10    SSEL1 (SSP)
                      11   EINT3

 11:10(1)   P0.21   00    GPIO Port 0.21 0
                     01    PWM5
                     10    Reserved[1][2] or
                           AD1.6[3]
                     11    Capture 1.3 (Timer 1)
   13:12 (2) P0.22   00   GPIO Port 0.22 0
                      01   Reserved[1][2] or
                           AD1.7[3]
                      10   Capture 0.0 (Timer 0)
                      11   Match 0.0 (Timer 0)

   15:14    P0.23    00   GPIO Port 0.23 0
                      01   VBUS
                      10   Reserved
                      11   Reserved
 17:16   P0.24    00   Reserved
                   01   Reserved
                   10   Reserved
                   11   Reserved

 19:18(9) P0.25   00   GPIO Port 0.25 0
                   01   AD0.4
                   10   Reserved[1] or
                        Aout(DAC)[2][3]
                   11   Reserved
21:20   P0.26   00   Reserved
                 01   Reserved
                 10   Reserved
                 11   Reserved

23:22   P0.27   00   Reserved
                 01   Reserved
                 10   Reserved
                 11   Reserved
25:24(13) P0.28   00   GPIO Port 0.28
                   01   AD0.1
                   10   Capture 0.2 (Timer 0)
                   11   Match 0.2 (Timer 0)

27:26(14) P0.29   00   GPIO Port 0.29
                   01   AD0.2
                   10   Capture 0.3 (Timer 0)

                   11   Match 0.3 (Timer 0)
29:28(15)   P0.30        00    GPIO Port 0.30
                     01   AD0.3
                     10    EINT3
                     11    Capture 0.0 (Timer 0)

31:30(17)   P0.31        00    GPO Port only
                     01   UP_LED
                     10   CONNECT
                     11   Reserved
PIN FUNCTION SELECT REGISTER 2
FUNCTION   PIN         TYPE & DESCRIPTION

D+         10           INPUT/OUTPUT(USB bidirectional D+ line)
D-         11           INPUT/OUTPUT(USB bidirectional D- line)
XTAL1      62           INPUT(Input to the oscillator circuit and
                                internal clock generator circuits)
XTAL2       61          OUTPUT(Output from the oscillator
                                  amplifier)
RTXC1      3           INPUT(Input to the RTC oscillator circuit)
RTXC2       5            OUTPUT(output to the RTC oscillator circuit)
VSS        6, 18,       INPUT ( Ground: 0 V reference)
            25,42,50

VSSA       52         INPUT(Analog Ground: 0 V reference)
VDD        23, 43, 51 INPUT(power supply)
 VDDA   7    INPUT(analog power supply)
 VREF   63   INPUT(A/D Converter Reference)
 VBAT   49    INPUT(RTC power supply)
GPIO REGISTER MAP
FAST GPIO REGISTER MAP
Gpio pins

More Related Content

PDF
PDF
8449972 embedded-systems-and-model-of-metro-train
PPT
W8_2: Inside the UoS Educational Processor
PDF
TC74LCX244FW PSpice Model (Free SPICE Model)
PDF
TC74LCX244FT PSpice Model (Free SPICE Model)
DOCX
codings related to avr micro controller
DOCX
m.tech esd lab manual for record
PDF
TC74LCX244F PSpice Model (Free SPICE Model)
8449972 embedded-systems-and-model-of-metro-train
W8_2: Inside the UoS Educational Processor
TC74LCX244FW PSpice Model (Free SPICE Model)
TC74LCX244FT PSpice Model (Free SPICE Model)
codings related to avr micro controller
m.tech esd lab manual for record
TC74LCX244F PSpice Model (Free SPICE Model)

What's hot (11)

PDF
Assembly programming II
PDF
AT89C52 Data sheet
PDF
PDF
MK1_Addendum
PPT
Uart VHDL RTL design tutorial
PDF
The Ring programming language version 1.5.4 book - Part 87 of 185
PDF
Raspberry Pi - best friend for all your GPIO needs
PPT
B tech Final Year Projects & Embedded Systems Training
PDF
Android Things in action
PDF
dspAt89 s52
PDF
The Ring programming language version 1.5.1 book - Part 84 of 180
Assembly programming II
AT89C52 Data sheet
MK1_Addendum
Uart VHDL RTL design tutorial
The Ring programming language version 1.5.4 book - Part 87 of 185
Raspberry Pi - best friend for all your GPIO needs
B tech Final Year Projects & Embedded Systems Training
Android Things in action
dspAt89 s52
The Ring programming language version 1.5.1 book - Part 84 of 180
Ad

Viewers also liked (7)

PDF
4. GPIO Access
PDF
I2C Bus (Inter-Integrated Circuit)
PPTX
Introduction To Raspberry Pi with Simple GPIO pin Control
PPT
Serial Peripheral Interface(SPI)
PPT
ODP
Introduction to Raspberry Pi and GPIO
4. GPIO Access
I2C Bus (Inter-Integrated Circuit)
Introduction To Raspberry Pi with Simple GPIO pin Control
Serial Peripheral Interface(SPI)
Introduction to Raspberry Pi and GPIO
Ad

Gpio pins

  • 5. FUNCTIONALITY OF PINS PINSEL0 Pin function select Read/Write 0x0000 0000 PINSEL1 Pin function select Read/Write 0x0000 0000 PINSEL2 Pin function select Read/Write 0x0000 0000
  • 6. PIN FUNCTION SELECT REGISTER 0 (Pin of Select Port Pin sélection Function Résister) line  1:0 (19) P0.0 00 GPIO Port 0.0 01 TXD (UART0) 10 PWM1 11 Reserved  3:2 (21) P0.1 00 GPIO Port 0.1 01 RxD (UART0) 10 PWM3 11 EINT0
  • 7. 5:4 (22) P0.2 00 GPIO Port 0.2 01 SCL0 (I2C0) 10 Capture 0.0 (Timer 0) 11 Reserved 7:6 (26) P0.3 00 GPIO Port 0.3 01 SDA0 (I2C0) 10 Match 0.0 (Timer 0) 11 EINT1
  • 8. 9:8 (27) P0.4 00 GPIO Port 0.4 0 01 SCK0 (SPI0) 10 Capture 0.1 (Timer 0) 11 AD0.6 11:10 (29) P0.5 00 GPIO Port 0.5 0 01 MISO0 (SPI0) 10 Match 0.1 (Timer 0) 11 AD0.7
  • 9.  13:12 (30) P0.6 00 GPIO Port 0.6 0 01 MOSI0 (SPI0) 10 Capture 0.2 (Timer 0) 11 Reserved[1][2] or AD1.0[3]  15:14 (31) P0.7 00 GPIO Port 0.7 01 SSEL0 (SPI0) 10 PWM2 11 EINT2
  • 10.  17:16 (33) P0.8 00 GPIO Port 0.8 01 TXD UART1 10 PWM4 11 Reserved[1][2] or AD1.1[3]  19:18 (34) P0.9 00 GPIO Port 0.9 01 RxD (UART1) 10 PWM6 11 EINT3
  • 11. 21:20 (35) P0.10 00 GPIO Port 0.10 01 Reserved[1][2] or RTS (UART1)[3] 10 Capture 1.0 (Timer 1) 11 Reserved[1][2] orAD1.2[3]  23:22 (37) P0.11 00 GPIO Port 0.11 01 Reserved[1][2] or CTS (UART1)[3] 10 Capture 1.1 (Timer 1) 11 SCL1 (I2C1)
  • 12. 25:24 (38) P0.12 00 GPIO Port 0.12 0 01 Reserved[1][2] or DSR (UART1)[3] 10 Match 1.0 (Timer 1) 11 Reserved[1][2] or AD1.3[3]  27:26 (39) P0.13 00 GPIO Port 0.13 0 01 Reserved[1][2] or DTR (UART1)[3] 10 Match 1.1 (Timer 1) 11 Reserved[1][2] orAD1.4[3]
  • 13. 29:28 (41) P0.14 00 GPIO Port 0.14 0 01 Reserved[1][2] or DCD (UART1)[3] 10 EINT1 11 SDA1 (I2C1)  31:30 (45) P0.15 00 GPIO Port 0.15 0 01 Reserved[1][2] or RI (UART1)[3] 10 EINT2 11 Reserved[1][2] orAD1.5[3]
  • 14. 29:28 P0.14 00 GPIO Port 0.14 0 01 Reserved[1][2] or DCD (UART1)[3] 10 EINT1 11 SDA1 (I2C1)  31:30 P0.15 00 GPIO Port 0.15 0 01 Reserved[1][2] or RI (UART1)[3] 10 EINT2 11 Reserved[1][2] orAD1.5[3]
  • 15. PIN FUNCTION SELECT REGISTER 1  1:0 (46) P0.16 00 GPIO Port 0.16 0 01 EINT0 10 Match 0.2 (Timer 0) 11 Capture 0.2 (Timer 0)  3:2 (47) P0.17 00 GPIO Port 0.15 0 01 Capture 1.2 (Timer 1) 10 SCK1 (SSP) 11 Match 1.2 (Timer 1)
  • 16. 5:4(53) P0.18 00 GPIO Port 0.18 0 01 Capture 1.3 (Timer 1) 10 Match 0.2 (Timer 0) 11 MISO1 (SSP) 7:6 (54) P0.19 00 GPIO Port 0.19 0 01 Match 1.2 (Timer 1) 10 MOSI1 (SSP) 11 Capture 1.2 (Timer 1)
  • 17.  9:8 (55) P0.20 00 GPIO Port 0.20 0 01 Match 1.3 (Timer 1) 10 SSEL1 (SSP) 11 EINT3  11:10(1) P0.21 00 GPIO Port 0.21 0 01 PWM5 10 Reserved[1][2] or AD1.6[3] 11 Capture 1.3 (Timer 1)
  • 18. 13:12 (2) P0.22 00 GPIO Port 0.22 0 01 Reserved[1][2] or AD1.7[3] 10 Capture 0.0 (Timer 0) 11 Match 0.0 (Timer 0)  15:14 P0.23 00 GPIO Port 0.23 0 01 VBUS 10 Reserved 11 Reserved
  • 19.  17:16 P0.24 00 Reserved 01 Reserved 10 Reserved 11 Reserved  19:18(9) P0.25 00 GPIO Port 0.25 0 01 AD0.4 10 Reserved[1] or Aout(DAC)[2][3] 11 Reserved
  • 20. 21:20 P0.26 00 Reserved 01 Reserved 10 Reserved 11 Reserved 23:22 P0.27 00 Reserved 01 Reserved 10 Reserved 11 Reserved
  • 21. 25:24(13) P0.28 00 GPIO Port 0.28 01 AD0.1 10 Capture 0.2 (Timer 0) 11 Match 0.2 (Timer 0) 27:26(14) P0.29 00 GPIO Port 0.29 01 AD0.2 10 Capture 0.3 (Timer 0) 11 Match 0.3 (Timer 0)
  • 22. 29:28(15) P0.30 00 GPIO Port 0.30 01 AD0.3 10 EINT3 11 Capture 0.0 (Timer 0) 31:30(17) P0.31 00 GPO Port only 01 UP_LED 10 CONNECT 11 Reserved
  • 23. PIN FUNCTION SELECT REGISTER 2
  • 24. FUNCTION PIN TYPE & DESCRIPTION D+ 10 INPUT/OUTPUT(USB bidirectional D+ line) D- 11 INPUT/OUTPUT(USB bidirectional D- line) XTAL1 62 INPUT(Input to the oscillator circuit and internal clock generator circuits) XTAL2 61 OUTPUT(Output from the oscillator amplifier) RTXC1 3 INPUT(Input to the RTC oscillator circuit) RTXC2 5 OUTPUT(output to the RTC oscillator circuit) VSS 6, 18, INPUT ( Ground: 0 V reference) 25,42,50 VSSA 52 INPUT(Analog Ground: 0 V reference) VDD 23, 43, 51 INPUT(power supply)
  • 25.  VDDA 7 INPUT(analog power supply)  VREF 63 INPUT(A/D Converter Reference)  VBAT 49 INPUT(RTC power supply)