| 数据搜索系统,热门电子元器件搜索 |
|
LP55231 数据表(PDF) 28 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP55231 数据表(HTML) 28 Page - Texas Instruments |
|
28 / 59 page ![]() 28 LP55231 SNOSCR5D – MARCH 2013 – REVISED DECEMBER 2016 www.ti.com Product Folder Links: LP55231 Submit Documentation Feedback Copyright © 2013–2016, Texas Instruments Incorporated Register Maps (continued) Table 3. Control Register Map (continued) HEX ADDRESS REGISTER NAME BIT(s) READ/ WRITE DEFAULT VALUE AFTER RESET BIT MNEMONIC AND DESCRIPTION 76 GAIN CHANGE CTRL [7:6] R/W 00xxxxxx THRESHOLD Threshold voltage (typ.). 00 – 400mV 01 – 300mV 10 – 200mV 11 – 100mV [5] R/W xx0xxxxx ADAPTIVE_THRESH_EN Activates adaptive threshold. [4:3] R/W xxx00xxx TIMER 00 – 5ms 01 – 10 ms 10 – 50 ms 11 – Infinite [2] R/W xxxxx0xx FORCE_1x Activates 1.5x to 1x timer. 7.6.2 Control Register Details 00 ENABLE/ ENGINE CONTROL1 • 00 - Bit [6] CHIP_EN • 1 = internal start-up sequence powers up all the needed internal blocks and the device enters normal mode. • 0 = standby mode is entered. Control registers can still be written or read, excluding bits[5:0] in reg 00 (this register), registers 16h to 1E (LED PWM registers) and 37h to 39h (program counters). • 00 — Bits [5:4] ENGINE1_EXEC • Engine 1 program execution control. Execution register bits define how the program is executed. Program start address can be programmed to Program Counter (PC) register 37H. • 00 = hold: Hold causes the execution engine to finish the current instruction and then stop. Program counter (PC) can be read or written only in this mode. • 01 = step: Execute the instruction at the location pointed by the PC, increment the PC by one and then reset ENG1_EXEC bits to 00 (that is, enter hold). • 10 = free run: Start program execution from the location pointed by the PC. • 11 = execute once: Execute the instruction pointed by the current PC value and reset ENG1_EXEC to 00 (that is, enter hold). The difference between step and execute once is that execute once does not increment the PC. • 00 — Bits [3:2] ENGINE2_EXEC • Engine 2 program execution control. Equivalent to above definition of control bits. Program start address can be programmed to Program Counter (PC) register 38H. • 00 — Bits [1:0] ENGINE3_EXEC • Engine 3 program execution control. Equivalent to engine 1 control bits. Program start address can be programmed to Program Counter (PC) register 39H. 01 ENGINE CONTROL2 • Operation modes are defined in this register. • Disabled: Engines can be configured to disabled mode each one separately. • Load program: Writing to program memory is allowed only when the engine is in load program operation mode and engine busy bit (reg 3A) is not set. Serial bus master should check the busy bit before writing to program memory or allow at least 1ms delay after entering to load mode before memory write, to ensure initalization. All the three engines are in hold while one or more engines are in load program mode. PWM values are frozen, also. Program execution continues when all the engines are out of load program mode. Load program mode resets the program counter of the respective engine. Load program mode can be entered from the disabled mode only. Entering load program mode from the run program mode is not allowed. • Run Program: Run program mode executes the instructions stored in the program memory. Execution register (ENG1_EXEC etc.) bits define how the program is executed (hold, step, free run or execute once). |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |