Module ruspiro_gpio::debug[][src]

Expand description

Unsafe GPIO access

Sometimes during development, when there is no console output possible or atomic operations are not yet usable due to missing MMU setup, it’s helpful to verify system behaviour by activating a LED connected to a GPIO of the board. To reduce dependency to any other configuration in this scenario it is helpful to use direct hardware access for the GPIO’s accepting the “danger” and the fact it is unsafe to do so

Functions

Let a LED lit connected to the given GPIO number