| Electronic Components Datasheet Search |
|
ST72361AR4-Auto Datasheet(PDF) 131 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72361AR4-Auto Datasheet(HTML) 131 Page - STMicroelectronics |
|
131 / 279 page ![]() ST72361xx-Auto 8-bit timer (TIM8) Doc ID 12468 Rev 3 131/279 When the timer clock is fCPU/4, fCPU/8 or fCPU/8000, OCFi and OCMPi are set while the counter value equals the OCiR register value plus 1 (see Figure 67). 4 The output compare functions can be used both for generating external events on the OCMPi pins even if the input capture mode is also used. 5 The value in the 8-bit OCiR register and the OLVi bit should be changed after each successful comparison in order to control an output waveform or establish a new elapsed timeout. 13.3.4 Forced compare output capability When the FOLVi bit is set by software, the OLVLi bit is copied to the OCMPi pin. The OLVi bit has to be toggled in order to toggle the OCMPi pin when it is enabled (OCiE bit = 1). The OCFi bit is then not set by hardware, and thus no interrupt request is generated. The FOLVLi bits have no effect in both one pulse mode and PWM mode. Figure 65. Output compare block diagram Figure 66. Output compare timing diagram, fTIMER =fCPU/2 OUTPUT COMPARE 8-bit CIRCUIT OC1R Register 8 BIT FREE RUNNING COUNTER OC1E CC0 CC1 OC2E OLVL1 OLVL2 OCIE (Control Register 1) CR1 (Control Register 2) CR2 0 0 0 OCF2 OCF1 (Status Register) SR 8-bit 8-bit OCMP1 OCMP2 Latch 1 Latch 2 OC2R Register Pin Pin FOLV2 FOLV1 fCPU CLOCK TIMER CLOCK COUNTER REGISTER OUTPUT COMPARE REGISTER i (OCRi) OUTPUT COMPARE FLAG i (OCFi) OCMPi PIN (OLVLi =1) D3 D0 D1 D2 D3 D4 CF |
|
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 |