6.9
Push-buttons
Two buttons are available on the Discovery kit.
RESET button (B1)
The black button connected to NRST is used to reset the STM32 microcontroller. When the button is pressed the
logic state is LOW, otherwise, the logic state is HIGH.
Joystick (B2)
This joystick is a 5-way rock switch using a single ADC input pin PC2. Push-in Select can be used as a digital
user button and EXTI wake-up interrupt.
The joystick position for the ADC value refers to
Joystick
position
Select
Left
Down
Up
Right
No key pressed
VREF is connected to the joystick resistor network as the power supply. So, the joystick can work whenever 3.3 or
1.8 V for the ADC measurement ratio.
UM3292 - Rev 1
Table
9.
Table 9.
Joystick position for the ADC value
Measurement ratio
0
0.20
0.40
0.61
0.80
1.0
UM3292
Hardware layout and configuration
ADC value (V)
0
0.67
1.32
2.01
2.65
3.3
page 16/33
Need help?
Do you have a question about the STM32U083C-DK and is the answer not in the manual?
Questions and answers