English
Language : 

SH7763 Datasheet, PDF (1482/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 33 Audio Codec Interface (HAC)
WaitLoop_CMDAMT
Clear LoopCnt3 to 0.
TSR.CMDAMT = 1
No
Yes
Write 0 to TSR. CMDAMT.
Wait for 1µs
LoopCnt3 ++
Return
No
E3 < LoopCnt 3
Yes
Error
WaitLoop_RSR
Clear LoopCnt4 to 0.
RSR.STARY = 1 &
No
RSR.STDRY = 1
Yes
Write 0 to RSR.STARY
Write 0 to RSR.STDRY
Wait for 1µs
LoopCnt4 ++
No
E4 < LoopCnt 4
Return
Yes
Error
Notes: E3 and E4: Number required for the target system
(21 < E3, 21 < E4 < 1000)
LoopCnt3: Software counter for wait insertion
LoopCnt4: Software counter for wait insertion
Figure 33.7 Sample Flowchart for Off-Chip Codec Register Read (3)
Rev. 1.00 Oct. 01, 2007 Page 1416 of 1956
REJ09B0256-0100