diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-10 15:01:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-17 12:58:33 +0200 |
commit | af69a8693b4f4a7f1ea41d2948c3550a46ae6e17 (patch) | |
tree | 70396dad726a196df3699357ab439390604c0502 /bsps/include | |
parent | grlib: Remove NL -> CR in apbuart_outbyte_polled() (diff) | |
download | rtems-af69a8693b4f4a7f1ea41d2948c3550a46ae6e17.tar.bz2 |
grlib: Add apbuart_outbyte_wait()
Diffstat (limited to 'bsps/include')
-rw-r--r-- | bsps/include/grlib/apbuart.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bsps/include/grlib/apbuart.h b/bsps/include/grlib/apbuart.h index 2ca67b20e8..68bcf1bffa 100644 --- a/bsps/include/grlib/apbuart.h +++ b/bsps/include/grlib/apbuart.h @@ -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); |