| Electronic Components Datasheet Search |
|
PFS154 Datasheet(PDF) 56 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PFS154 Datasheet(HTML) 56 Page - PADAUK Technology. |
|
56 / 91 page ![]() PFS154 8bit MTP Type IO Controller ©Copyright 2020, PADAUK Technology Co. Ltd Page 56 of 91 PDK-DS-PFS154_CN_V105 –Jun. 9, 2020 PWMG1DTL = 0x00; PWMG1DTH = _duty - dead_zone_F; // Use duty cycle to adjust the dead-time after the falling edge of PWM1 PWMG1CUBL = 0x00; PWMG1CUBH = 100; // The above values are assigned before enable PWM output //******************** PWM out control ********************* $ PWMG0C Enable,Inverse,PA0,SYSCLK; // PWMG0 output the PWM0 waveform to PA0 $ PWMG0S INTR_AT_DUTY,/1,/1; .delay dead_zone_R; // Use delay to adjust the dead-time before the rising edge of PWM1 $ PWMG1C Enable, PA4, SYSCLK; // PWMG1 output the PWM1 waveform to PA4 $ PWMG1S INTR_AT_DUTY, /1, /1; //***** Note: for the output control part of the program, the code sequence can not be moved ******// While(1) { nop; } } The PWM0 / PWM1 waveform obtained by the above program is shown in Fig. 19. Fig. 19: Two complementary PWM waveforms with dead zones Users can modify the dead_zone_R and dead_zone_F values in the program to adjust the dead-time. Table 8 provides data corresponding to different dead-time for users' reference. Where, if dead-time = 4us, then there are dead zones of 4us before and after PWM1 high level. PWM0 PWM1 Dead-Time |
|
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 |