English
Language : 

R01AN1504EJ0100 Datasheet, PDF (10/50 Pages) Renesas Technology Corp – Using the DTC to Perform Continuous Clock
RL78/G14
4.2 Section Composition
Table 4.1 lists the sections used in the sample code.
Using the DTC to Perform Continuous Clock
Synchronous Serial Communication
Table 4.1 Sections Used in the Sample Code
Section Name
DTC0DST
DTC1SRC
Address
0FE900H
0FE910H
Reference Variable
rcv_data[]
snd_data[]
Description
DTCD0 transfer destination address
DTCD1 transfer source address
4.3 Option Byte Settings
Table 4.2 lists the option byte settings.
Table 4.2 Option Byte Settings
Address
000C0H/010C0H
Setting Value
11101111B
000C1H/010C1H
01111111B
000C2H/010C2H
000C3H/010C3H
11101000B
10000100B
Contents
Stops the watchdog timer
(counting is stopped when a reset is canceled)
Sets the LVD in reset mode
Detection voltage: 2.81 V at the rising edge, 2.75 V at the
falling edge
Sets the HOCO clock as 32 MHz in high-speed main (HS)
mode
Enables on-chip debugging
4.4 Constant
Table 4.3 lists the constant used in the sample code.
Table 4.3 Constant Used in the Sample Code
Constant Name
TX_RX_DATA_SIZE
Setting Value
8 bytes
Contents
Transmit/receive data size
4.5 Variables
Table 4.4 lists the global variables, and Table 4.5 lists the static variable.
Table 4.4 Global Variables
Type
uint8_t
Variable Name
rcv_data[]
Contents
Receive data
uint8_t
uint8_t
uint8_t
snd_data[]
set_rcv_data[]
csi_status
Transmit data
Store the receive data
Transmission/reception end
status
Function Used
R_MAIN_UserInit
r_csi00_interrupt
r_csi00_callback_receiveend
R_CSI00_Send_Receive
transmit_data_set
r_csi00_callback_receiveend
main
R_MAIN_UserInit
r_csi00_callback_receiveend
R01AN1504EJ0100 Rev. 1.00
Feb. 14, 2014
Page 10 of 47