| Electronic Components Datasheet Search |
|
LM3559 Datasheet(PDF) 31 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
LM3559 Datasheet(HTML) 31 Page - Texas Instruments |
|
31 / 50 page ![]() 31 LM3559 www.ti.com SNVS624B – JUNE 2011 – REVISED JUNE 2016 Product Folder Links: LM3559 Submit Documentation Feedback Copyright © 2011–2016, Texas Instruments Incorporated 8.6.7 Configuration Register 2 Configuration Register 2 holds the TX2 shutdown select bit, the NTC shutdown select bit, the AET-mode enable bit, and the VIN monitor shutdown bit (see Table 8). Table 8. Configuration Register 2 Bit Descriptions Bit 7 (Not used) Bit 6 (Not used) Bit 5 (Not used) Bit 4 (Not used) Bit 3 (VIN Monitor Shutdown) Bit 2 (AET mode) Bit 1 (NTC Shutdown) Bit 0 (TX2 Shutdown) N/A N/A N/A N/A 0 = VIN falling below the programmed VIN monitor threshold forces the LED current into the programmed torch current (default) 0 = AET Mode Disabled (default) 0 = Voltage at LEDI/NTC falling below VTRIP forces the active current source (LED1 and/or LED2) to the programmed torch current (default) 0 = TX2 event forces the LED current to the programmed torch current (default) 1 = VIN falling below the programmed VIN monitor threshold forces the LED current into shutdown. 1 = AET Mode Enabled 1 = Voltage at LEDI/NTC falling below VTRIP forces the active current source (either LED1 and/or LED2) into shutdown. 1 = TX2 event forces the LED current into shutdown. 8.6.8 GPIO Register The GPIO Register contains the control bits which change the state of the TX1/TORCH/GPIO1 pin and the TX2/INT/GPIO2 pins to general purpose I/Os (GPIOs). Additionally, bit 6 of the GPIO Register contains the interrupt configuration bit. Table 9 describes the bit description and functionality of the GPIO register. To configure the TX1 or TX2 pins as GPIO outputs an initial double write is required to register 0x20. For example, to configure TX2 to output a logic high, an initial write of 0xB8 would need to occur twice to force GPIO2 low. Subsequent writes to GPIO2 after the initial setup only requires a single write. To read back the GPIO inputs, a write, then a read, of register 0x20 must occur each time the data is read. For example, if GPIO2 is set up as a GPIO input and the GPIO2 input has then changed state, first a write to 0x20 must occur, then the readback of register 0x20 that follows shows the updated data. When configuring TX2 as an interrupt output, the TX2/GPIO2/INT pin must first be configured as a GPIO output (double write). For example, to configure TX2/GPIO2/INT for INT mode, a write of 0xF8 to register 0x20 must be done twice. Table 9. GPIO Register Bit 7 (Not Used) Bit 6 (TX2/INT/GPIO 2 Interrupt Enable) Bit 5 (TX2/INT/GPIO 2 data) Bit 4 (TX2/INT/GPIO 2 data direction) Bit 3 (TX2/INT/GPIO 2 Control) Bit 2 (TX1/TORCH/G PIO1 data) Bit 1 (TX1/TORCH/G PIO1 data direction) Bit 0 (TX1/TORCH/G PIO1 Control) N/A 0 = TX2/INT/GPIO2 is configured according to bit 3 of this register (default) This bit is the read or write data for the GPIO2 pin in GPIO mode 0 = TX2/INT/GPIO2 is a GPIO Input (default) 0 = TX2/INT/GPIO is a TX2 interrupt (default) This bit is the read or write data for the GPIO1 pin in GPIO mode 0 = TX1/TORCH/G PIO1 is a GPIO input (default) 0 = TX1/TORCH/G PIO1 pin is configured according to Configuration Register 1 bit[7] (default) 1 = with bits [4:3] = 11, TX2/INT/GPIO2 is an interrupt output. See Interrupt section. 1 = TX2/INT/GPIO2 is a GPIO Output 1 = TX2/INT/GPIO2 is configured as a GPIO 1 TX1/TORCHGP IO1 is an output 1 = TX1/TORCH/G PIO1 pin is configured as a GPIO |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |