1 2 3 4 5 6 7 8 9 10 11 12
#pragma once enum { // The offsets for reach register. GPIO_BASE = 0x200000, // Controls actuation of pull up/down to ALL GPIO pins. GPPUD = (GPIO_BASE + 0x94), // Controls actuation of pull up/down for specific GPIO pin. GPPUDCLK0 = (GPIO_BASE + 0x98), };