raspi4 spi0 driver can run

This commit is contained in:
bigamgic
2020-07-04 22:32:02 +08:00
parent 7e5373e733
commit f333dcabe3
9 changed files with 470 additions and 26 deletions

View File

@@ -134,6 +134,7 @@ typedef enum {
} GPIO_PUPD_FUNC;
void prev_raspi_pin_mode(GPIO_PIN pin, GPIO_FUNC mode);
void prev_raspi_pin_write(GPIO_PIN pin, int pin_value);
int rt_hw_gpio_init(void);
#endif /* __DRV_GPIO_H__ */