GPIO B addressOffset = 0x000

Each GPIO pin has a byte register in this address range. Software typically reads and writes bytes to access individual pins, but can read or write halfwords to sense or set the state of two pins, and read or write words to sense or set the state of four pins.

Table 1. GPIO registerName = B[0:17] addressOffset = 0x000
Bit Symbol Description Reset value Access
0 PBYTE Read: state of the pin PIO0_n, regardless of direction, masking, or alternate function, except that pins configured as analog I/O always read as 0. Write: loads the pin’s output bit. ext R/W
7:1   Reserved (0 on read, ignored on write) 0 -

-->