| поискавой системы для электроныых деталей |
|
PFS172 датащи(PDF) 43 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PFS172 датащи(HTML) 43 Page - PADAUK Technology. |
|
43 / 92 page ![]() PFS172 8bit MTP MCU with 8-bit ADC ©Copyright 2020, PADAUK Technology Co. Ltd Page 43 of 92 PDK-DS-PFS172-EN_V000-May 8, 2020 Time Counter 0xFF bound Time Output-pin Time out and Interrupt request Mode 0 – Period Mode Event Trigger Time Counter 0xFF bound Time Output-pin Time out and Interrupt request Mode 1 – 8-bit PWM Mode Time Counter 0x3F bound Time Output-pin Time out and Interrupt request Mode 1 – 6-bit PWM Mode Event Trigger Event Trigger Time Counter 0xFF bound Time Output-pin Time out and Interrupt request Mode 0 – Period Mode Event Trigger Time Counter 0xFF bound Time Output-pin Time out and Interrupt request Mode 1 – 8-bit PWM Mode Time Counter 0x3F bound Time Output-pin Time out and Interrupt request Mode 1 – 6-bit PWM Mode Event Trigger Event Trigger Fig.11: Timing diagram of Timer2 in period mode and PWM mode (tm2c.1=1) A Code Option GPC_PWM is for the applications which need the generated PWM waveform to be controlled by the comparator result. If the Code Option GPC_PWM is selected, the PWM output stops while the comparator output is 1 and then the PWM output turns on while the comparator output goes back to 0, as shown in Fig. 12. Fig.12: Comparator controls the output of PWM waveform 5.7.1 Using the Timer2 to generate periodical waveform If periodical mode is selected, the duty cycle of output is always 50%; its frequency can be summarized as below: Frequency of Output = Y ÷ [2 × (K+1) × S1 × (S2+1) ] Where, Y = tm2c[7:4] : frequency of selected clock source K = tm2b[7:0] : bound register in decimal S1 = tm2s[6:5] : pre-scalar (S1= 1, 4, 16, 64) S2 = tm2s[4:0] : scalar register in decimal (S2= 0 ~ 31) PWM Output Comparator Output |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |