| поискавой системы для электроныых деталей |
|
ST52T400 датащи(PDF) 58 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52T400 датащи(HTML) 58 Page - STMicroelectronics |
|
58 / 94 page ![]() ST52T400/T440/E440/T441 58/94 The 16-bit Prescaler divides the master clock, CLKM or the external signal TCLK. The Prescaler output can be selected setting the PRESC bit of REG_CONF6. NOTE: The external clock signal, applied on TCLK pin, must have a frequency that is at least two times smaller than the internal master clock. When the Counter reaches the Peripheral Regis- ter PWM_COUNT value (Compare Value), the TIMEROUT signal changes from high to low level, up to the next counter start. The period of the PWM signal is obtained by using the following formula: T= (255-PWM_RELOAD)*TMRCLK where TMRCLK is the output of the 16-bit pres- caler. The duty cycle of the PWM signal is controlled by the Output Register PWM_COUNT: Ton =(PWM_COUNT- PWM_RELOAD)* TMRCLK If the Output Register PWM_COUNT value is 255 the TIMEROUT signal is always at high level. If the Output Register PWM_COUNT is 0, or less than the PWM_RELOAD value, TIMEROUT sig- nal is always at low level. NOTE. If the PWM_RELOAD value increases, the duty cycle resolution decreases. By using a 20 MHz Master Clock a PWM fre- quency in the range between 1.2 Hz to 78.43 Khz may be obtained. NOTE: The Timer, before using a new value of the counter or of the reload, has to complete the previ- ous counting. If the counter/reload value is changed during counting, the new value of the timer counter is used only at the end of the previ- ous counting phase. This happens both in Timer andinPWM mode. WARNING: loading new values of the reload in the PWM_x_RELOAD registers, the PWM/Timer is immediately set on-fly. This can cause some side effects during the current counting cycle. The next cycles work normally. This occurs both in Timer andinPWM mode. When the Timer is in Reset, or when the device is reset, the TOUT pin goes to threestate: it is rec- ommended to use a pull-up or a pull-down resistor if this output is used to drive an external device. Figure 9.4 PWM Mode with Auto Reload t t 255 compare value reload register 0 PWM Output Ton T |
|
ссылки 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 |