Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有串口的接收函数 #4

Open
cgl-nudt opened this issue Sep 27, 2022 · 0 comments
Open

没有串口的接收函数 #4

cgl-nudt opened this issue Sep 27, 2022 · 0 comments

Comments

@cgl-nudt
Copy link

在已有的uart.c中没有定义接收函数,只有发送的函数uint32_t ck_uart_putc(p_ck_uart_device uart_device, uint8_t c),并且在寄存器位定义时也只有#define CK_LSR_TRANS_EMPTY 0x20,没有定义CK_LSR_RECE_EMPTY? 但是在uart.h中,有接收和发送位地址
#define CK_UART_RBR 0x00 /* Receive Buffer Register (32 bits, R) */
#define CK_UART_THR 0x00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant