Skip to content

Commit 41e24fb

Browse files
authored
Merge pull request #802 from raspberrypi/develop
Fix heading levels (#801)
2 parents 6a39cfe + 1bf32ac commit 41e24fb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Each pin is mapped to a specific function categorised into four primary types, s
8282

8383
NOTE: GPIO pins 0 and 1, sometimes named `GPIO 0 (ID_SD)` and `GPIO 1 (ID_SC)`, respectively, are reserved for special-purpose use. Physically, these pins correspond with pins 27 and 28 on a Raspberry Pi board.
8484

85-
=== GPIO pin inputs, outputs, and alternative functions
85+
=== GPIO pin inputs, outputs, and communication protocols
8686

8787
GPIO pins can operate in two modes: <<inputs, inputs>> and <<outputs, outputs>>. Some GPIO pins can also control connected components using specific <<protocols, communication protocols>>, including *SPI*, *I2C*, *UART*, *PWM*, and *PCM*.
8888

@@ -337,7 +337,7 @@ NOTE: Pad control settings, such as output drive strength and Schmitt-trigger fi
337337

338338
This section covers the underlying architecture and low-level configuration of the GPIO hardware.
339339

340-
=== GPIO permissions
340+
==== GPIO permissions
341341

342342
To access GPIO ports, a user must be a member of the appropriate `gpio` group. The primary user account on a Raspberry Pi OS is a member of the `gpio` group by default. Other users of your Raspberry Pi must be added manually using the following command, replacing `<username>` with the actual username of the user:
343343

@@ -346,7 +346,7 @@ To access GPIO ports, a user must be a member of the appropriate `gpio` group. T
346346
$ sudo usermod -a -G gpio <username>
347347
----
348348

349-
=== GPIO pads
349+
==== GPIO pads
350350

351351
The external GPIO connections on the SoC are sometimes referred to as 'pads' in the https://pip.raspberrypi.com/documents/RP-008249-DS[BCM2835 peripherals datasheet]. In semiconductor terminology, pads are the chip's electrical connection points to the outside world.
352352

@@ -360,7 +360,7 @@ The GPIO pads include configurable CMOS push-pull output drivers and input buffe
360360

361361
Following a power-on reset, GPIO pins are generally configured as inputs. The default pull states are also applied, which are detailed in the *Alternative Function Assignments* table in the https://pip.raspberrypi.com/documents/RP-008249-DS[BCM2835 peripherals datasheet]. Most GPIOs have a default pull applied.
362362

363-
=== Interrupts
363+
==== Interrupts
364364

365365
Each GPIO pin configured as a general-purpose input can be configured as an interrupt source for the Arm processor. The following interrupt-generation modes are available:
366366

0 commit comments

Comments
 (0)