Skip to content

没有串口的接收函数 #4

@cgl-nudt

Description

@cgl-nudt

在已有的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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions