![Connect Tech Multi-I/O Скачать руководство пользователя страница 29](http://html.mh-extra.com/html/connect-tech/multi-i-o/multi-i-o_user-manual_2652843029.webp)
Connect Tech - Xtreme/Multi-I/O - Users Guide
Document: CTIM-00116
Revision: 0.02
0.02
Page 29 of 50
Connect Tech Inc. Proprietary Information
Date: Apr. 14, 2015
LED_CONT Register (Offset 0x01, read-write)
This register provides the
secondary
LED functions for the LED header (P11).
Control Item
Bit
Offset
Bit
Value
Comment(s)
LED1_STATE
0
0x1 =0, LED Off (after approximately 75 mS)
=1, LED On immediately
See Note [2] below
LED1_ENAB
1
0x2 =0, Primary LED function is active
=1, LED operation controlled by the LEDn_STATE bit.
See Note [1] below
LED2_STATE
2
0x4 Same as above for LED2
LED2_ENAB
3
0x8 Same as above for LED2
LED3_STATE
4
0x10 Same as above for LED3
LED3_ENAB
5
0x20 Same as above for LED3
LED4_STATE
6
0x40 Same as above for LED4
LED4_ENAB
7
0x80 Same as above for LED4
Notes:
1.
The ENAB bit(s) allows software to take control the LED outputs (1 to 4). The primary function of the
LED is inhibited when the ENAB bit is On.
2.
The LED output remains ON for as long as the STATE bit in ON (=1). When the STATE bit is turned
OFF, a timer in the FPGA hardware holds the LED output ON for 50 to 100 mS. This allows software to
“blink” an LED without needing to perform any timing.