EasyManua.ls Logo

MEN G233 - User LEDs Control

MEN G233
25 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Functional Description
20G233-00 E1
2017-10-20
Page 23
3.6.1 LED Control
The LEDs are controlled by the host CPU.
The host CPU sends a message with the LED configuration using the following byte
protocol:
Select LED (1 Byte): 0b xxxx xxxx
LED State (1 Byte): 0b xxxx xxxx
Example:
Select LED 1 and LED 3 (1 Byte): 0b 0000 0101
Turn on LED 1, turn off LED 3 (1 Byte): 0b 0010 0001
Table 5. User LED control – byte 1 – select LED
Table 6. User LED control – byte 2 – set LED state
Bit 7 6 5 4 3 2 1 0
Name
LED8 LED7 LED6 LED5 LED4 LED3 LED2 LED1
Bit Field Description
7:0 LED[8:1] Select the user LED to control
0: Don’t select
1: Select this LED
Bit 7 6 5 4 3 2 1 0
Name
LED8 LED7 LED6 LED5 LED4 LED3 LED2 LED1
Reset
00000000
Bit Field Description
7:0 LED[8:1] Set the user LED state for selected user LEDs
0: LED off
1: LED on
Only the state of the LEDs which were selected in byte 1 is
changed, the other LEDs keep their former state.