| Datenblatt-Suchmaschine für elektronische Bauteile |
|
LM8322 Datenblatt(PDF) 21 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
LM8322 Datenblatt(HTML) 21 Page - National Semiconductor (TI) |
|
21 / 42 page ![]() 14.8 END COMMAND The END command terminates script execution and asserts an interrupt to the host if the RESET bit is set to “1” or “0”. If the END command is executed with the RESET bit set to “1” , the PWM output will be disabled. If the RESET bit is “0” when executing the END command, the PWM channel re- mains active with the fixed duty cycle it was last set to. Please note: If a PWM channel is waiting for the trigger (last executed command was "TRIGGER") and the script execu- tion is halted then the "END" command can’t be executed because the previous command is still pending. This is an exception - in this case the IRQ signal will not be asserted. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 0 0 RESET 0 Bit Value Description RESET 0 PWM_x output is active when script execution terminates. 1 PWM_x output is Tristate when script execution terminates. 14.9 TRIGGER COMMAND Triggers are used to synchronize operations between PWM channels. A TRIGGER command that sends a trigger takes sixteen 32.768 kHz clock cycles, and a command that waits for a trigger takes at least sixteen 32.768 kHz clock cycles. A TRIGGER command that waits for a trigger (or triggers) will stall script execution until the trigger conditions are satisfied. Then, it will clear the trigger(s) and continue to the next com- mand. 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. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 1 WAITTRIGGER SENDTRIGGER 0 Field Value Description 0001xx Wait for trigger from channel 2 WAITTRIGGER 000xx1 Wait for trigger from channel 0 000x1x Wait for trigger from channel 1 SENDTRIGGER 000xx1 Send trigger to channel 0 000x1x Send trigger to channel 1 0001xx Send trigger to channel 2 14.10 PWM SCRIPT EXAMPLE This example shows a complex ramping sequence that uses triggers for synchronization. Three scripts implement the ex- ample. Figure 14 shows the PWM outputs for this example. 30013614 FIGURE 14. PWM Outputs 21 www.national.com |
|
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 |