Changeset 205d5645 in rtems
- Timestamp:
- 01/03/00 16:44:04 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e065e8ae
- Parents:
- 6b7cf9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/sh/sh7045/sci/sci.c
r6b7cf9f r205d5645 136 136 137 137 if ((read8(SCI_SSR0) & SCI_RDRF) != 0x00) { 138 /* Write the character to the TDR*/139 write8(*ch,SCI_RDR0);140 /* Clear the TDRE bit*/138 /* read input */ 139 *ch = read8(SCI_RDR0); 140 /* Clear RDRF flag */ 141 141 temp = read8(SCI_SSR0) & ~SCI_RDRF; 142 142 write8(temp, SCI_SSR0); … … 152 152 153 153 if ((read8(SCI_SSR1) & SCI_RDRF) != 0x00) { 154 /* Write the character to the TDR*/155 write8(*ch,SCI_RDR1);156 /* Clear the TDRE bit*/154 /* read input */ 155 *ch = read8(SCI_RDR1); 156 /* Clear RDRF flag */ 157 157 temp= read8(SCI_SSR1) & ~SCI_RDRF; 158 158 write8(temp, SCI_SSR1);
Note: See TracChangeset
for help on using the changeset viewer.