diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-14 19:15:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-14 19:15:07 +0000 |
commit | 862ecc12715cd262c761451634583bb59e4e5157 (patch) | |
tree | 3a3c3569a70963255e41023e836b4e5ecada1bed /nuttx/arch/z80/src/z8/z8_lowuart.c | |
parent | 9e96b774dc77f51d965a8b2b9cf3d9d72637aa02 (diff) | |
download | nuttx-862ecc12715cd262c761451634583bb59e4e5157.tar.gz nuttx-862ecc12715cd262c761451634583bb59e4e5157.tar.bz2 nuttx-862ecc12715cd262c761451634583bb59e4e5157.zip |
More z180 serial logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5437 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/z8/z8_lowuart.c')
-rw-r--r-- | nuttx/arch/z80/src/z8/z8_lowuart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/z80/src/z8/z8_lowuart.c b/nuttx/arch/z80/src/z8/z8_lowuart.c index 07832572c..cf3f9b324 100644 --- a/nuttx/arch/z80/src/z8/z8_lowuart.c +++ b/nuttx/arch/z80/src/z8/z8_lowuart.c @@ -49,7 +49,7 @@ #include "chip/chip.h" #include "common/up_internal.h" -#ifdef USE_LOWUARTINIT +#ifdef USE_LOWSERIALINIT extern uint32_t get_freq(void); @@ -70,10 +70,10 @@ extern uint32_t get_freq(void); ****************************************************************************/ /**************************************************************************** - * Name: z8_lowuartinit + * Name: up_lowserialinit ****************************************************************************/ -void up_lowuartinit(void) +void up_lowserialinit(void) { uint32_t freq = get_freq(); uint16_t brg; @@ -127,4 +127,4 @@ void up_lowuartinit(void) putreg8(0xc0, U1CTL0); /* Transmit enable, Receive enable, no Parity, 1 Stop bit */ #endif } -#endif /* USE_LOWUARTINIT */
\ No newline at end of file +#endif /* USE_LOWSERIALINIT */ |