| Electronic Components Datasheet Search |
|
AN1602 Datasheet(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1602 Datasheet(HTML) 20 Page - STMicroelectronics |
|
20 / 21 page ![]() 20/21 16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs – Using the OLVL2 bit, select the level to be applied to the OCMP1 pin after a successful com- parison with OC2R register. Step 4. Configure the CR2 register: – Set the PWM bit. – Select the timer clock (CC[1:0]). 2.2.2 Example For example, to generate a PWM signal with the same characteristics as the example for the ST7262 (see Section 2.1.1): Fcpu = 8 Mhz, So TTimer = 0.5 µs High Level period = 500 µs = 1000 * TTimer = (3E8h) * TTimer Low Level period = 200 µs = 400 * TTimer = (190h) * TTimer PWM signal full period = 700 µs = (578h) * TTimer So we can calculate the following values: OC2R = 578h - 5h = 573h OC1R = 3E8h - 5h = 3E3h OLVL1 = 1 & OLVL2 = 0 |
|
|
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 |