| поискавой системы для электроныых деталей |
|
PFS154 датащи(PDF) 49 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PFS154 датащи(HTML) 49 Page - PADAUK Technology. |
|
49 / 91 page ![]() PFS154 8bit MTP Type IO Controller ©Copyright 2020, PADAUK Technology Co. Ltd Page 49 of 91 PDK-DS-PFS154_CN_V105 –Jun. 9, 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. 15: Timing diagram of Timer2 in period mode and PWM mode (tm2c.1=1) 5.13.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) Example 1: tm2c = 0b0001_1000, Y=8MHz tm2b = 0b0111_1111, K=127 tm2s = 0b0_00_00000, S1=1, S2=0 frequency of output = 8MHz ÷ [ 2 × (127+1) × 1 × (0+1) ] = 31.25KHz Example 2: tm2c = 0b0001_1000, Y=8MHz tm2b = 0b0111_1111, K=127 tm2s[7:0] = 0b0_11_11111, S1=64 , S2 = 31 frequency = 8MHz ÷ ( 2 × (127+1) × 64 × (31+1) ) =15.25Hz Example 3: tm2c = 0b0001_1000, Y=8MHz tm2b = 0b0000_1111, K=15 tm2s = 0b0_00_00000, S1=1, S2=0 frequency = 8MHz ÷ ( 2 × (15+1) × 1 × (0+1) ) = 250KHz |
|
ссылки 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 |