| Electronic Components Datasheet Search |
|
LP5562TMX/NOPB Datasheet(PDF) 19 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP5562TMX/NOPB Datasheet(HTML) 19 Page - Texas Instruments |
|
19 / 52 page ![]() 19 LP5562 www.ti.com SNVS820B – APRIL 2013 – REVISED DECEMBER 2016 Product Folder Links: LP5562 Submit Documentation Feedback Copyright © 2013–2016, Texas Instruments Incorporated 7.3.3.4.2 Set PWM Set PWM output value from 0 to 255. Command takes sixteen 32-kHz clock cycles (= 488 μs). Setting register 00h bit LOG_EN sets the scale from linear to logarithmic. Table 12. Set PWM Command Bits Set PWM command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1 0 0 0 0 0 0 PWM value 7.3.3.4.3 Go-to-Start Go-to-start command resets the Program Counter register and continues executing program from the 00h location. Command takes sixteen 32-kHz clock cycles. Note that default value for all program memory registers is 0000h, which is Go-to-Start command. Table 13. Go-to-Start Command Bits Go-to-Start command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (1) X means do not care whether 1 or 0 7.3.3.4.4 Branch When branch command is executed, the 'step number' value is loaded to PC, and program execution continues from this location. Looping is done by the number defined in loop count parameter. Nested looping is supported (loop inside loop). The number of nested loops is not limited. Command takes sixteen 32-kHz clock cycles. Table 14. Branch Command (1) Branch command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 1 Loop count X X X Step number Table 15. Branch Command Bits NAME VALUE DESCRIPTION loop count 0-63 The number of loops to be done. 0 means infinite loop. step number 0-15 The step number to be loaded to program counter. (1) X means do not care whether 1 or 0. 7.3.3.4.5 End End program execution resets the program counter and sets the corresponding EXEC register to 00b (hold). Command takes sixteen 32 kHz clock cycles. Table 16. End Command (1) End command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 0 int reset X X X X X X X X X X X Table 17. End Command Bits NAME VALUE DESCRIPTION int 0 No interrupt will be sent. 1 Send interrupt by setting corresponding status register bit high to notify that program has ended. Interrupt can only be cleared by reading interrupt status register 0Ch. |
|
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 |