18 lines
281 B
C
18 lines
281 B
C
|
#ifndef PINSH_H_
|
||
|
#define PINSH_H_
|
||
|
|
||
|
#define PINSH_BUF_SIZE 32
|
||
|
|
||
|
extern void (*pinsh_output_chr)(char);
|
||
|
|
||
|
void pinsh_welcome_msg();
|
||
|
void pinsh_exec(const char *cmd);
|
||
|
|
||
|
|
||
|
extern uint8_t pinsh_buf[PINSH_BUF_SIZE];
|
||
|
extern volatile int pinsh_buf_pos;
|
||
|
void pinsh_uart_irq_handler();
|
||
|
|
||
|
|
||
|
#endif
|