gpio: direct hardware access for pin peripheral

using most recent RTOS for reference, allows us to skip Arduino
layer when configuring things. especially useful for UART
re-implementation that does not involve magic pin function modes

adjust our terminal command to really show valid pins and their modes
This commit is contained in:
Maxim Prokhorov
2022-06-01 13:13:51 +03:00
parent 6a0d6b0c49
commit 2b2c20f383
4 changed files with 708 additions and 199 deletions

View File

@@ -21,7 +21,6 @@ Copyright (C) 2019-2021 by Maxim Prokhorov <prokhorov dot max at outlook dot com
#include "system.h"
#include "ws.h"
#include "gpio_pin.h"
#include "mcp23s08_pin.h"
#include <bitset>