|
| UR5HCSPI-FB |
|
||
|
SEMTECH |
|
8 page
KEY CODES LED MODES Copyright Semtech 1997-2001 DOC5-SPI-DS-117 www.semtech.com 8 The UR5HCSPI provides three LED pins. There are three LED modes: off, on, and blinking. The LED can be individually set to one of these modes. In the Blinking Mode, both the on-interval and the off-interval can be individually set. Additionally, a meta blink count and meta blink interval may be specified. This describes an interval of a different length which may be inserted after each specified number of blinks. All the intervals are based on a 1/16th of a second duration. When the LED is on or blinking, the SPICoderTM will not enter the STOP Mode unless the PWR_OK signal is asserted low. In this case, the device will save the status of the LED and turn it off. The default LED mode is off. The above timing chart describes the behavior of an LED using these settings,1: LED on; 0: LED off. Key codes range from 01H to 73H and are arranged as follows: Make code = column_number * 8 + row_number + 1 Break code = Make code OR 80H Discrete Switches transmit the following codes: XSW = 71H SW0 = 72H on on off on interval off interval 12 on off meta blink count 3 1 blinking cycle meta blink off on off on Figure 3: The behavior of an LED using the settings 1: LED on; 0: LED off. |