| Datenblatt-Suchmaschine für elektronische Bauteile |
|
LP5521 Datenblatt(PDF) 26 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP5521 Datenblatt(HTML) 26 Page - Texas Instruments |
|
26 / 51 page ![]() 26 LP5521 SNVS441I – JANUARY 2007 – REVISED NOVEMBER 2016 www.ti.com Product Folder Links: LP5521 Submit Documentation Feedback Copyright © 2007–2016, Texas Instruments Incorporated 7.5.3.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 16. 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.5.3.3 Go to Start Go to start command resets 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. 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 7.5.3.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 17. 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 NAME VALUE(d) 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. 7.5.3.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 18. 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 NAME VALUE DESCRIPTION int 0 No interrupt will be sent. 1 Send interrupt to processor by pulling the INT pin down and setting corresponding status register bit high to notify that program has ended. Interrupt can only be cleared by reading interrupt status register 0CH. reset 0 Keep the current PWM value. 1 Set PWM value to 0. |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |