Example of Using the scif in Asynchronous Mode



Download 157.27 Kb.
View original pdf
Page23/25
Date22.01.2021
Size157.27 Kb.
#55672
1   ...   17   18   19   20   21   22   23   24   25
example-of-using-the-scif-in-asynchronous-mode
stm32-stm8 embedded software solutions, stm32-stm8 embedded software solutions, stm32-stm8 embedded software solutions, Обзор Bluetooth, лекция 9
SH7780 Group

Example of Using the SCIF in Asynchronous Mode (Serial Data Transfer)

REJ06B0717-0100/Rev.1.00 March 2008 Page 22 of 25 11. Sample Program Listing "vecttbl.src"
57 FILE COMMENT
58 ; System Name
: SH Sample Program
59 ; File Name : vecttbl.src
60 ; Version
:
1.00.00 61 ; Contents
: SH Initialize Program
62 ; Model
:
Hitachi_ULSI_Systems SolutionEngine MS7780SE03 63 ; CPU
: SH 64 ; Compiler
: SHC.9.1.00 65 ; OS
: none
66 ;
67 ; note
:
< Caution >
68 ; This sample program is provided simply as a reference and
69 ; its operation is not guaranteed.
70 ; Use this sample program as a technical reference when
71
; developing software.
72 ;
73 ; Copyright (C) 2007 Renesas Technology Corp. All Rights Reserved
74 ;
75 ; History
:
2007/12/26 ver
1.00.00 76 ;
77 ;**************************************************************************************/
78 79 include "vect.inc"
80 81 section
VECTTBL,data
82
export
_RESET_VECTORS
333 ;SCIF-ch0 334 H
ERI0 335 .data.b HF /* (change part from Initialize program) */
336 H
RXI0 337 .data.b HF /* (change part from Initialize program) */
338 H
BRI0 339 .data.b HF /* (change part from Initialize program) */
340 H
TXI0 341
.data.b H



Download 157.27 Kb.

Share with your friends:
1   ...   17   18   19   20   21   22   23   24   25




The database is protected by copyright ©ininet.org 2024
send message

    Main page