grlib: Add apbuart_outbyte_wait()

This commit is contained in:
Sebastian Huber
2021-06-10 15:01:49 +02:00
parent 85febe7b10
commit af69a8693b
6 changed files with 24 additions and 24 deletions

View File

@@ -62,11 +62,9 @@ extern "C" {
#define APBUART_STATUS_TF 0x200
#define APBUART_STATUS_RF 0x400
void apbuart_outbyte_polled(
struct apbuart_regs *regs,
unsigned char ch,
int wait_sent
);
void apbuart_outbyte_wait(const struct apbuart_regs *regs);
void apbuart_outbyte_polled(struct apbuart_regs *regs, unsigned char ch);
int apbuart_inbyte_nonblocking(struct apbuart_regs *regs);