|
R01AN1504EJ0100 Datasheet, PDF (17/50 Pages) Renesas Technology Corp – Using the DTC to Perform Continuous Clock | |||
|
◁ |
RL78/G14
4.8.5 SAU0 Initialization
Figure 4.9 shows the SAU0 initialization.
Using the DTC to Perform Continuous Clock
Synchronous Serial Communication
R_SAU0_Create
Enable input clock supply
to SAU0
PER0 register
SAU0EN bit â 1: Enables input clock supply
Wait for 4 clocks of fCLK
Set the SAU0 operating clock
CSI00 initialization
R_CSI00_Create()
SPS0 register â 0004H
Bits PRS003 to PRS000 = 0100B: fCLK/24
return
Figure 4.9 SAU0 Initialization
Enabling input clock supply to SAU0
⢠Peripheral enable register 0 (PER0)
Symbol
PER0
Value
7
RTCEN
Ã
6
IICA1EN
Ã
5
ADCEN
Ã
4
IICA0EN
Ã
3
SAU1EN
Ã
2
SAU0EN
1
1
TAU1EN
Ã
0
TAU0EN
Ã
⢠Bit 2
SAU0EN
bit
0
1
Control of serial array unit 0 input clock supply
Stops supply of input clock
⢠SFR used by serial array unit 0 cannot be written.
⢠Serial array unit 0 is in the reset status.
Enables input clock supply
⢠SFR used by serial array unit 0 can be read/written.
For details on register setting, refer to the RL78/G14 Userâs Manual: Hardware.
Legend symbol:
Ã: Unused bit; blank cell: unchanged bit; â: reserved bit or unallocated bit
R01AN1504EJ0100 Rev. 1.00
Feb. 14, 2014
Page 17 of 47
|
▷ |