
7
Chapter 6. User Circuitry
6.1. Switches
There are four switches located on the MCU board. The function of each switch and its connection are shown in Table 6-1: Switch
Functions
Switch Function Microcontroller
RES When pressed, the MCU board microcontroller is reset. RESn, Pin 133
SW1/BOOT* Connects to an IRQ input for user controls. IRQ0, Pin 57
(Port D, bit 16)
SW2* Connects to an IRQ line for user controls. IRQ1, Pin 58
(Port D, bit 17)
SW3* Connects to an IRQ line for user controls. The same switch may also
function as an ADC trigger input.
IRQ2, Pin 59
(Port D, bit 18)
Table 6-1: Switch Functions
*Refer to the schematic for detailed connectivity information.
6.2. LEDs
There are six LEDs on the MCU 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 I/O port and will light when their corresponding port pin is set
low.
The LED pin references and their corresponding microcontroller port pin connections are shown in Table 6-2: LED Port
LED Reference (As
shown on silkscreen)
Microcontroller Port Pin
function
Microcontroller Pin
Number
Polarity
LED0 Port B bit 12 130 Active Low
LED1 Port B bit 17 98 Active Low
LED2 Port B bit 18 99 Active Low
LED3 Port B bit 19 100 Active Low
Table 6-2: LED Port
6.3. Potentiometer
A single-turn potentiometer is connected to pin AN0 of the microcontroller. This may be used to vary the voltage at this pin between AVCC
and Ground.
Kommentare zu diesen Handbüchern