Key Input Switches - Renesas RTK79210**B00000BE User Manual

Sub board, rz family / rz/a series
Table of Contents

Advertisement

RZ/A2M SUB Board RTK79210XXB00000BE
2.14

Key Input Switches

Port P5_6 is set as an analog input pin (AN006), and can be used as a key input switch through an A/D converter
(ADC)
Figure 2.14.1 shows the key input switch block diagram, and Table 2.14.1 shows the AD input pin voltage and AD
value when each switch is pressed.
1.5kΩ
SW4
SW4 : 3.3V * 1.5kR / (1.5kR + 4.7kR) = 0.80V
SW5 : 3.3V * 4.7kR / (4.7kR + 4.7kR) = 1.65V
Figure 2.14.1
Key Input Switch Block Diagram
Table 2.14.1
AD Input Pin Voltage and AD Values When Switch Is Pressed
Switch
Pin voltage (V)
SW4
SW5
[Note] Calculated at AVcc=3.3V, and AVss= 0V. Errors of resistor and voltage are not included.
R20UT4398EJ0100 Rev.1.00
2018.10.11
AVcc
AVcc
4.7kΩ
4.7kΩ
SW5
8 bit AD value
0.80
1.65
RZ/A2M (U1)
P5_6 /
AN006
Note:
Red text
indicates a function used.
:Indicates a function not implemented .
:Indicates a SUB board.
10 bit AD value
62
128
2. Function specifications
12 bit AD value
248
512
2048
991
2-39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a2m

Table of Contents