Zilog Z80230 Instrukcja Użytkownika Strona 175

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 394
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 174
SCC/ESCC
User Manual
UM010903-0515 Register Descriptions
168
advisable to disable the baud rate generator while the new time constant is loaded into WR12 and
WR13. Ordinarily, this is done anyway to prevent a load of the down counter between the writing
of the upper and lower bytes of the time constant.
The formula for determining the appropriate time constant for a given baud is shown below, with
the desired rate in bits per second and the BR clock period in seconds. This formula is derived
because the counter decrements from N down to zero-plus-one-cycle for reloading the time con-
stant. This is then fed to a toggle flip-flop to make the output a square wave. Bit positions for
WR12 are displayed in Figure on page 168.
Write Register 12
Time Constant
Clock Frequency
2Desired Rate BR Clock Period
-------------------------------------------------------------------------------------------------
2=
D7 D6 D5 D4 D3 D2 D1 D0
Write Register 12
TC0
TC1
TC2
TC3
TC4
TC5
TC6
TC7
Lower Byte of
Time Constant
Przeglądanie stron 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 393 394

Komentarze do niniejszej Instrukcji

Brak uwag