| Zakładka z wyszukiwarką danych komponentów |
|
LP3943 Arkusz danych(PDF) 15 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP3943 Arkusz danych(HTML) 15 Page - Texas Instruments |
|
15 / 24 page ![]() Programming Example: • Dim LEDs 0 to 7 at 1Hz at 25% duty cycle • Dim LEDs 8 to 12 at 5Hz at 50% duty cycle • Set LEDs 13, 14 and 15 off • Step 1: Set PSC0 to achieve DIM0 of 1 s • Step 2: Set PWM0 duty cycle to 25% • Step 3: Set PSC1 to achieve DIM1 of 0.2 s • Step 4: Set PWM1 duty cycle to 50% • Step 5: Set LEDs 13, 14 and 15 off by loading the data into LS3 register • Step 6: Set LEDs 0 to 7 to point to DIM0 • Step 7: Set LEDs 8 to 12 to point to DIM1 Table 6-13. Programming Details STEP DESCRIPTION REGISTER NAME SET TO (HEX) 1 Set DIM0 = 1 s 1 = (PSC0 + 1)/160 PSC0 = 159 PSC0 0x09F 2 Set duty cycle to 25% Duty Cycle = PWM0/256 PWM0 = 64 PWM0 0x40 3 Set DIM1 = 0.2s 0.2 = (PSC1 + 1)/160 PSC1 = 31 PSC1 0x1F 4 Set duty cycle to 50% Duty Cycle = PWM1/256 PWM1 = 128 PWM1 0x80 5 LEDs 13, 14 and 15 off Output = HIGH LS3 0x03 6 LEDs 0 to 7 Output = DIM0 LS0, LS1 LS0 = 0xAA LS1 = 0xAA 7 LEDs 8 to 12 Output = DIM1 LS2, LS3 LS2 = 0xFF LS3 = 0x03 www.ti.com LP3943 SNVS256E – NOVEMBER 2003 – REVISED OCTOBER 2024 Copyright © 2025 Texas Instruments Incorporated Submit Document Feedback 15 Product Folder Links: LP3943 |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |