riscv-rust / k210-pac

Peripheral access API crate (PAC) for K210 SoC, generated by svd2rust
29 stars 23 forks source link

GPIO #21

Closed laanwj closed 5 years ago

laanwj commented 5 years ago

Fill in what little can be gleaned about the GPIO peripheral from the SDK, which is the field names and bits for input/output/direction for the 8 pins. (it's sufficiently different from GPIOHS that I don't venture any guesses there)

Source: lib/drivers/gpio.c lib/drivers/include/gpio.h