| Electronic Components Datasheet Search |
|
ST92185B2 Datasheet(PDF) 165 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92185B2 Datasheet(HTML) 165 Page - STMicroelectronics |
|
165 / 178 page ![]() 165/178 ST92185B - PWM GENERATOR PWM GENERATOR (Cont’d) OUTPUT COMPLEMENT REGISTER (OCPL) R251- Read/Write Register Page 59 Reset Value: 0000 0000 (00h) This register allows the PWM output level to be complemented on an individual bit basis. In default mode (reset configuration), each com- parison true between a Compare register and the counter has the effect of setting the corresponding output. At counter clear (either by autoclear comparison true, software clear or overflow when in free run- ning mode), all the outputs are cleared. By setting each individual bit (OCPL.x) in this reg- ister, the logic value of the corresponding output will be inverted (i.e. reset on comparison true and set on counter clear). Example: When set to “1”, the OCPL.1 bit comple- ments the PWM output 1. Bit 7 = OCPL.7: Complement PWM Output 7. Bit 6 = OCPL.6: Complement PWM Output 6. Bit 5 = OCPL.5: Complement PWM Output 5. Bit 4 = OCPL.4: Complement PWM Output 4. Bit 3 = OCPL.3: Complement PWM Output 3. Bit 2 = OCPL.2: Complement PWM Output 2. Bit 1 = OCPL.1: Complement PWM Output 1. Bit 0 = OCPL.0: Complement PWM Output 0. OUTPUT ENABLE REGISTER (OER) R252 - Read/Write Register Page: 59 Reset Value: 0000 0000 (00h) These bits are set and cleared by software. 0: Force the corresponding PWM output to logic level 1. This allows the port pins to be used for normal I/O functions or other alternate functions (if available). 1: Enable the corresponding PWM output. Example: Writing 03h into the OE Register will en- able only PWM outputs 0 and 1, while outputs 2, 3, 4, 5, 6 and 7 will be forced to logic level “1”. Bit 7 = OE.7: Output Enable PWM Output 7. Bit 6 = OE.6: Output Enable PWM Output 6. Bit 5 = OE.5: Output Enable PWM Output 5. Bit 4 = OE.4: Output Enable PWM Output 4. Bit 3 = OE.3: Output Enable PWM Output 3. Bit 2 = OE.2: Output Enable PWM Output 2. Bit 1 = OE.1: Output Enable PWM Output 1. Bit 0 = OE.0: Output Enable PWM Output 0. 70 OCPL.7 OCPL.6OCPL.5 OCPL.4OCPL.3 OCPL.2 OCPL.1OCPL.0 70 OE.7 OE.6 OE.5 OE.4 OE.3 OE.2 OE.1 OE.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 |