Chapter 6. User Circuitry; Switches; Leds; Potentiometer - Renesas R8C/25 User Manual

Starter kit
Hide thumbs Also See for R8C/25:
Table of Contents

Advertisement

6.1. Switches

There are four switches located on the RSK. The function of each switch and its connection are shown in Table 6-1.
Switch
RES
SW1/BOOT*
SW2*
SW3*
*Refer to schematic for detailed connectivity information.

6.2. LEDs

There are six LEDs on the RSK board. The green 'POWER' LED lights when the board is powered. The orange BOOT LED indicates the
device is in BOOT mode when lit. The four user LEDs are connected to an IO port and will light when their corresponding port pin is set low.
Table 6-2, below, shows the LED pin references and their corresponding microcontroller port pin connections.
LED Reference (As
shown on silkscreen)
LED0
LED1
LED2
LED3

6.3. Potentiometer

A single turn potentiometer is connected to AN8 (P1.0) of the microcontroller. This may be used to vary the input analogue voltage value to
this pin between VREF and Ground.

Chapter 6. User Circuitry

When pressed, the RSK microcontroller is reset.
Connects to an IRQ input for user controls.
The switch is also used in conjunction with the RES switch to place
the device in BOOT mode when not using the E8a debugger.
Connects to an IRQ Interrupt input line for user controls.
Connects to a Key In Interrupt input line for user controls
Table 6-1: Switch Functions
Colour
Green
Orange
Red
Red
Function
Microcontroller Port Pin function
Port 2.4
Port 2.5
Port 2.6
Port 2.7
Table 6-2: LED Port
7
Microcontroller
RESET Pin8
INT0 Pin27
(Port 4, pin 5)
INT1 Pin21
(Port 1, pin 7)
KI3 Pin25
(Port 1, pin 3)
Microcontroller Pin
Number
16
15
14
13

Advertisement

Table of Contents
loading

Table of Contents