Broadcom BCM2835

Function select 2 gpio function select 3 gpio

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Clock 1 Reserved Test Table 6-1 GPIO Register Assignment GPIO Function Select Registers (GPFSELn) SYNOPSIS The function select registers are used to define the operation of the general-purpose I/O pins. Each of the 54 GPIO pins has at least two alternative functions as defined in section 16.2. The FSEL{n} field determines the functionality of the nth GPIO pin. All unused alternative function lines are tied to ground and will output a "0" if selected. All pins reset to normal GPIO input operation. Bit(s) Field Name 31-30 --- Description Reserved Type R Reset 0 06 February 2012 Broadcom Europe Ltd. 406 Science Park Milton Road Cambridge CB4 0WW 2012 Broadcom Corporation. All rights reserved Page 91 29-27 FSEL9 FSEL9 - Function Select 9 000 = GPIO Pin 9 is an input 001 = GPIO Pin 9 is an output 100 = GPIO Pin 9 takes alternate function 0 101 = GPIO Pin 9 takes alternate function 1 110 = GPIO Pin 9 takes alternate function 2 111 = GPIO Pin 9 takes alternate function 3 011 = GPIO Pin 9 takes alternate function 4 010 = GPIO Pin 9 takes alternate function 5 FSEL8 - Function Select 8 FSEL7 - Function Select 7 FSEL6 - Function Select 6 FSEL5 - Function Select 5 FSEL4 - Function Select 4 FSEL3 - Function Select 3 FSEL2 - Function Select 2 FSEL1 - Function Select 1 FSEL0 - Function Select 0 R/W 0 26-24 23-21 20-18 17-15 14-12 11-9 8-6 5-3 2-0 FSEL8 FSEL7 FSEL6 FSEL5 FSEL4 FSEL3 FSEL2 FSEL1 FSEL0 R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 0 0 0 0 0 0 0 0 Table 6-2 GPIO Alternate function select register 0 Bit(s) Field Name 31-30 29-27 --FSEL19 Description Reserved FSEL19 - Function Select 19 000 = GPIO Pin 19 is an input 001 = GPIO Pin 19 is an output 100 = GPIO Pin 19 takes alternate function 0 101 = GPIO Pin 19 takes alternate function 1 110 = GPIO Pin 19 takes alternate function 2 111 = GPIO Pin 19 takes alternate function 3 011 = GPIO Pin 19 takes alternate function 4 010 = GPIO Pin 19 takes alternate function 5 FSEL18 - Function Select 18 FSEL17 - Function Select 17 FSEL16 - Function Select 16 FSEL15 - Function Select 15 FSEL14 - Function Select 14 FSEL13 - Function Select 13 FSEL12 - Function Select 12 FSEL11 - Function Select 11 FSEL10 - Function Select 10 Type R R/W Reset 0 0 26-24 23-21 20-18 17-15 14-12 11-9 8-6 5-3 2-0 FSEL18 FSEL17 FSEL16 FSEL15 FSEL14 FSEL13 FSEL12 FSEL11 FSEL10 R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 0 0 0 0 0 0 0 0 Table 6-3 GPIO Alternate function select register 1 06 February 2012 Broadcom Europe Ltd. 406 Science Park Milton Road Cambridge CB4 0WW 2012 Broadcom Corporation. All rights reserved Page 92 Bit(s) Field Name 31-30 29-27 --FSEL29 Description Reserved FSEL29 - Function Select 29 000 = GPIO Pin 29 is an input 001 = GPIO Pin 29 is an output 100 = GPIO Pin 29 takes alternate function 0 101 = GPIO Pin 29 takes alternate function 1 110 = GPIO Pin 29 takes alternate function 2 111 = GPIO Pin 29 takes alternate function 3 011 = GPIO Pin 29 takes alternate function 4 010 = GPIO Pin 29 takes alternate function 5 FSEL28 - Function Select 28 FSEL27 - Function Select 27 FSEL26 - Function Select 26 FSEL25 - Function Select 25 FSEL24 - Function Select 24 FSEL23 - Function Select 23 FSEL22 - Function Select 22 FSEL21 - Function Select 21 FSEL20 - Function Select 20 Type R R/W Reset 0 0 26-24 23-21 20-18 17-15 14-12 11-9 8-6 5-3 2-0 FSEL28 FSEL27 FSEL26 FSEL25 FSEL24 FSEL23 FSEL22 FSEL21 FSEL20 R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 0 0 0 0 0 0 0 0 Table 6-4 GPIO Alternate function select register 2 Bit(s) Field Name 31-30 29-27 --FSEL39 Description Reserved FSEL39 - Function Select 39 000 = GPIO Pin 39 is an input 001 = GPIO Pin 39 is an output 100 = GPIO Pin 39 takes alternate function 0 101 = GPIO Pin 39 takes alternate function 1 110 = GPIO Pin 39 takes alternate function 2 111 = GPIO Pin 39 takes alternate function 3 011 = GPIO Pin 39 takes alternate function 4 010 = GPIO Pin 39 takes alternate function 5 FSEL38 - Function Select 38 FSEL37 - Function Select 37 FSEL36 - Function Select 36 FSEL35 - Function Select 35 FSEL34 - Function Select 34 FSEL33 - Function Select 33 FSEL32 - Function Select 32 Type R R/W Reset 0 0 26-24 23-21 20-18 17-15 14-12 11-9 8-6 FSEL38 FSEL37 FSEL36 FSEL35 FSEL34 FSEL33 FSEL32 R/W R/W R/W R/W R/W R/W R/W 0 0 0 0 0 0 0 06 February 2012 Broadcom Europe Ltd. 406 Science Park Milton Road Cambridge CB4 0WW 2012 Broadcom Corporation. All rights reserved Page 93 5-3 2-0 FSEL31 FSEL30 FSEL31 - Function Select 31 FSEL30 - Function Select 30 R/W R/W 0 0 Table 6-5 GPIO Alternate function select register 3 Bit(s) Field Name 31-30 29-27 --FSEL49 Description Reserved FSEL49 - Function Select 49 000 = GPIO Pin 49 is an input 001 = GPIO Pin 49 is an output 100 = GPIO Pin 49 takes alternate function 0 101 = GPIO Pin 49 takes alternate function 1 110 = GPIO Pin 49 takes alternate function 2 111 = GPIO Pin 49 takes alternate function 3 011 = GPIO Pin 49 takes alternate function 4 010 = GPIO Pin 49 takes alternate function 5 FSEL48 - Function Select 48 FSEL47 - Function Select 47 FSEL46 - Function Select 46 FSEL45 - Function Select 45 FSEL44 - Function Select 44 FSEL43 - Function Select 43 FSEL42 - Function Select 42 FSEL41 - Function Select 41 FSEL40 - Function Select 40 Type R R/W Reset 0 0 26-24 23-21 20-18 17-15 14-12 11-9 8-6 5-3 2-0 FSEL48 FSEL47 FSEL46 FSEL45 FSEL44 FSEL43 FSEL42 FSEL41 FSEL40 R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 0 0 0 0 0 0 0 0 Table 6-6 GPIO Alternate function select register 4 Bit(s) Field Name 31-12 11-9 --FSEL53 Description Reserved...
View Full Document

Ask a homework question - tutors are online