Renesas Asynchronous SH7145F Instrukcja Użytkownika Strona 8

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 17
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 7
SH7145F
Asynchronous Serial Data Transmission/Reception
REJ06B0357-0100O/Rev.1.00 March 2004 Page 8 of 17
4. Software
(1) Module Descriptions
Table 4 lists the modules used in the task example.
Table 4 Module Descriptions
Module Label Function
Main routine main Calls modules
SCI routine init_sci Initial settings of SCI1
Receive routine rcv_sci Receives serial data
Transmit routine trans_sci Transmits serial data
Error handling err_int Handles receive errors
(2) Argument Descriptions
Table 5 lists the arguments used in the task example.
Table 5 Argument Descriptions
Argument Function Module
Rev_data[0–2] Stores SCI_1 receive data Receive routine
trans_data Transmits data from SCI_1 Transmit routine
(3) On-Chip Register Descriptions
Table 6 lists the on-chip registers used in the task example. The set values shown are the values
used in the task example and differ from the initial settings.
Przeglądanie stron 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 16 17

Komentarze do niniejszej Instrukcji

Brak uwag