添加参数设置和自检命令
This commit is contained in:
		| @@ -16,7 +16,7 @@ struct dev_struct{ | ||||
|  | ||||
| typedef struct __uart_def{ | ||||
|   const char *name; | ||||
|   int (*init)(struct __uart_def *u); | ||||
|   int (*init)(struct __uart_def *u,int bsp); | ||||
|   int (*deinit)(struct __uart_def *u); | ||||
|   int (*set_irq)(struct __uart_def *u,void (*irq)(void *t,uint8_t d),void *t); | ||||
|   int (*set_end_irq)(struct __uart_def *u,uint8_t *rx_buff,int rx_buff_size, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 andy
					andy