| Electronic Components Datasheet Search |
|
PFS172 Datasheet(PDF) 48 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PFS172 Datasheet(HTML) 48 Page - PADAUK Technology. |
|
48 / 92 page ![]() PFS172 8bit MTP MCU with 8-bit ADC ©Copyright 2020, PADAUK Technology Co. Ltd Page 48 of 92 PDK-DS-PFS172-EN_V000-May 8, 2020 TM3CT = 0; //------Timer PWM output control ------------------- $ TM3C IHRC, PB5, PWM, Inverse; // Inverse output .delay dead_zone*2 - 2; // "*2": SYSCLK = 2MHz // "-2": executing “$ TM3C XXXX” needs two // instructions $ TM2C IHRC, PB4, PWM; //***Note: Do not change the sequence of the control part’s program***** //-------Following codes can be for reference when user needs switch duty cycle ---------- //------ Switching PWM_pulse ------------------- While (1) { While(tm2ct!=0) {} // Wait till tm2ct=0 to avoid noise TM2B = PWM_Pulse_a - 1; TM3B = PWM_Pulse_a + 2 * dead_zone - 1; .delay t_delay*2; While(tm2ct!=0) {} TM2B = PWM_Pulse_b - 1; TM3B = PWM_Pulse_b + 2 * dead_zone - 1; .delay t_delay*2; } } The following figures show the waveforms at different condition. 1. The PWM waveforms in a fixed-duty cycle: Fig. 13: Two complementary PWM waveforms with dead zones TM2 TM3 Dead time 30us. |
|
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 |