添加boot0获取唤醒源
This commit is contained in:
@@ -40,6 +40,11 @@ typedef struct serial_hw
|
||||
/* Data Length: 0 - 5bits; 1 - 6bits; 2 - 7bits; 3 - 8bit */
|
||||
#define DLEN 3
|
||||
|
||||
#ifdef CFG_GET_WKSRC
|
||||
void sunxi_serial_M0_init(int uart_port, void *gpio_cfg, int gpio_max);
|
||||
int has_sunxi_serial_M0_send(unsigned char *buff, size_t len);
|
||||
int has_sunxi_serial_M0_get(unsigned char *buff, size_t len);
|
||||
#endif
|
||||
|
||||
void sunxi_serial_init(int uart_port, void *gpio_cfg, int gpio_max);
|
||||
void sunxi_serial_putc (char c);
|
||||
|
||||
Reference in New Issue
Block a user