English
Language : 

SH7730 Datasheet, PDF (859/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series
Section 24 IrDA Interface (IrDA)
(2) IrDA Transmission (CRC Calculation) Flow
Flowchart
Start
Make settings in IRIF_CRC0
Setting in IrDA
Initialize CRC engine.
IrDA Operation
Make settings in IRIF_CRC1
No
All data transferred?
Yes
Read IRIF_CRC0
Read IRIF_CRC4
Specify input data
for CRC engine.
When another CRC data
should be input to CRC engine,
prepare the next input data.
Read value from CRC engine
input data byte counter.
Read CRC calculation result.
Two bytes of CRC data
transmitted?
Yes
End
No
*
When another CRC data
should be transmitted,
prepare the next CRC
transmit data.
Note: * As shown in the flowchart, after all data has been transferred,
the 2-byte calculation result read from IRIF_CRC4 should be
transmitted in the order of lower byte to the upper byte.
Figure 24.10 IrDA Transmission (CRC Calculation) Flow
Rev. 1.00 Sep. 19, 2007 Page 811 of 1136
REJ09B0359-0100