R8C/34K Group
USB Host Evaluation Board R0K5R8C34DK2HBR
Hardware Instruction Manual
R01AN0649EJ0110 Rev.1.10
Page 17 of 26
Jul 21, 2011
7.3
User Switches with A/D Detection (Orange dot line area of Figure 12)
The evaluation board is equipped with four user switches. The MCU A/D function detects voltage when each switch is
pushed. The circuit cannot detect voltage for multiple switches when pushed simultaneously. If more than one switch is
pushed, the A/D function will detect voltage according to the following priority: SW4 > SW3 > SW2 > SW1.
provides the detecting voltage (ideal value) for each switch.
Table 6 A/D detecting voltage
Switch pushed
Detecting Voltage(Ideal value)
No switch pushed
5V
SW1 4.1V
SW2 3.2V
SW3 2.3V
SW4 0V
7.4
User LED (Orange dot line area of Figure 12)
The evaluation board is equipped with three LEDs that can be directly controlled from MCU I/O ports. To turn the
LEDs on (light up), set the control I/O ports listed in
to “low”. The circuit is configured so that 7mA to 8mA
current flows when an LED lights up, so make sure the drive capacity registers of the corresponding I/O port is set to
“High”
.
[Notice]
The drive capacity for LED2 and LED3 I/O ports is set in 4-bit units, which means the drive capacity
for other ports in the same grouping as these I/O ports will also go to
“High”
.
Table 7 LED Control I/O Ports
LED No. (color)
Corresponding I/O port name
LED1 (red)
P16
LED2 (yellow)
P81
LED3 (green)
P30
Summary of Contents for R0K5R8C34DK2HBR
Page 25: ...Appendix2 Parts Layout Diagram 1 Front Surface ...
Page 26: ...2 Rear Surface ...