| Electronic Components Datasheet Search |
|
LM8330 Datasheet(PDF) 17 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LM8330 Datasheet(HTML) 17 Page - Texas Instruments |
|
17 / 54 page ![]() LM8330 www.ti.com SNVS839A – JUNE 2012 – REVISED MARCH 2013 BRANCH Command The BRANCH command jumps to the specified command in the script command file. The branch is executed with either absolute or relative addressing. In addition, the command gives the option of looping for a specified number of repetitions. NOTE Nested loops are not allowed. Table 11. BRANCH Command Bit and Building Fields 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 1 LOOPCOUNT ADDR X STEPNUMBER Table 12. Description of Bit and Building Fields of the BRANCH Command Bit or Field Value Description 0 Loop until a STOP PWM SCRIPT command is issued by the host. LOOPCOUNT 1 - 63 Number of loops to perform. 0 Absolute addressing ADDR 1 Relative addressing Depending on ADDR: STEPNUMBER 0 - 31 ADDR=0: Addr to jump to ADDR=1: Number of backward steps TRIGGER Command Triggers are used to synchronize operations between PWM channels. A TRIGGER command that sends a trigger takes sixteen 32 kHz clock cycles, and a command that waits for a trigger takes at least sixteen 32 kHz clock cycles. A TRIGGER command that waits for a trigger (or triggers) will stall script execution until the trigger conditions are satisfied. On trigger it will clear the trigger(s) and continue to the next command. When a trigger is sent, it is stored by the receiving channel and can only be cleared when the receiving channel executes a TRIGGER command that waits for the trigger. Table 13. TRIGGER Command Bit and Building Fields 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 1 WAITTRIGGER SENDTRIGGER 0 Table 14. Description of Bit and Building Fields Field Value Description 000xx1 Wait for trigger from channel 0 WAITTRIGGER 000x1x Wait for trigger from channel 1 0001xx Wait for trigger from channel 2 000xx1 Send trigger to channel 0 SENDTRIGGER 000x1x Send trigger to channel 1 0001xx Send trigger to channel 2 END COMMAND The END command terminates script execution. It will only assert an interrupt to the host if the INT bit is set to '1'. When the END command is executed, the PWM output will be set to the level defined by PWMCFG.PWMPOL for this channel. Also, the script counter is reset back to the beginning of the script command buffer. Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback 17 Product Folder Links: LM8330 |
|
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 |