Maxim-integrated 73S12xxF Software Manual do Utilizador Página 25

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 93
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 24
UG_12xxF_016 73S12xxF Software User Guide
Rev. 1.50 25
LED_Config ()
Purpose Configure the LED interface (all pins).
Synopsis Void LED_Config ( IN Bbool PU_Enable, IN enum LED_CURRENT LC );
Parameters PU_Enable: Input parameter
Boolean value specifies enable (TRUE) or disable (FALSE) pull-up.
LC: Input parameter
Enum type indicating the output current level for the LEDs (when turned on). The
following values are available:
LED_OFF: turn off LED (0 mA).
LED_DIM: turn LED on at dim level (2 mA).
LED_NORMAL: turn LED on at normal level (4 mA).
LED_BRIGHT: turn LED on at brightest level (10 mA).
Return Codes None.
LED_Write ()
Purpose Turn LED on/off. If turned on, the brightness control is possible at one of three
levels: Dim, Normal, Bright as specified in LED_Config().
Synopsis Void LCD_ Write ( IN unsigned char LED_Pin, IN unsigned char Value );
Parameters LED_Pin : Input parameter
Selected LED(s) to be turned on, where bit[n] = 1 indicates LED[n] to be written.
Value: Input parameter
Value to be written to selected LED. Bit[n] is the value to be written to LED[n] if
LED[n] is selected to be written to.
Return Codes None.
LED_Read ()
Purpose Read current state of the LED data.
Synopsis Void LCD_Read ( OUT unsigned char LEDValue );
Parameters LEDvalue: Output parameter
Bit[0] indicates the current state of LED0.
Bit[1] indicates the current state of LED1.
Bit[2] indicates the current state of LED2 Not available in 73S1205F.
Bit[3] indicates the current state of LED3 Not available in 73S1205F.
Bit[4] indicates the state of the pull-up (1=enable).
Bit[5,6] indicate the output current level where:
00 = OFF
01 = DIM
10 = NORMAL
11 = BRIGHT
Return Codes None.
Vista de página 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 92 93

Comentários a estes Manuais

Sem comentários