summaryrefslogtreecommitdiffstats
path: root/bsps/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-10 15:01:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-17 12:58:33 +0200
commitaf69a8693b4f4a7f1ea41d2948c3550a46ae6e17 (patch)
tree70396dad726a196df3699357ab439390604c0502 /bsps/include
parentgrlib: Remove NL -> CR in apbuart_outbyte_polled() (diff)
downloadrtems-af69a8693b4f4a7f1ea41d2948c3550a46ae6e17.tar.bz2
grlib: Add apbuart_outbyte_wait()
Diffstat (limited to 'bsps/include')
-rw-r--r--bsps/include/grlib/apbuart.h8
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);