| Electronic Components Datasheet Search |
|
P83CL580 Datasheet(PDF) 21 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P83CL580 Datasheet(HTML) 21 Page - NXP Semiconductors |
|
21 / 80 page ![]() 1997 Mar 14 21 Philips Semiconductors Product specification Low voltage 8-bit microcontrollers with UART, I2C-bus and ADC P80CL580; P83CL580 12 PULSE WIDTH MODULATED OUTPUT One Pulse Width Modulated output channel (PWM0) is provided which outputs pulses of programmable length and interval. The repetition frequency is defined by an 8-bit prescaler (PWMP) that generates the clock for the counter. The 8-bit counter counts modulo 255, i.e. from 0 to 254 inclusive. The value held in the 8-bit counter is compared to the contents of the register PWM0. Provided the contents of this register are greater than the counter value, the PWM0 output is set LOW. If the contents of register PWM0 are equal to, or less than the counter value, the PWM0 output is set HIGH. The pulse-width-ratio is therefore defined by the contents of register PWM0. The pulse-width-ratio will be in the range 0 to 255 ⁄255 and may be programmed in increments of 1 ⁄255. The repetition frequency (fPWM) at the PWM0 output is given by: For fosc = 12 MHz the above formula gives a repetition frequency range of 92 Hz to 23.5 kHz. By loading the PWM0 register with either 00H or FFH, the PWM0 output can be retained at a constant HIGH or LOW level respectively. When loading FFH into the PWM0 register, the 8-bit counter will never actually reach this value. The PWM0 output pin is driven by push-pull drivers and is not shared with any other function. f PWM f osc 2 { 1 ( PWMP ) 255 } × + × ---------------------------------------------------------------------------- = 12.1 Prescaler Frequency Control Register (PWMP) Table 5 Prescaler Frequency Control Register (address FEH) Table 6 Description of PWMP bits 12.2 Pulse Width Register (PWM0) Table 7 Pulse Width Register (address FCH) Table 8 Description of PWM0 bits 76543210 PWMP.7 PWMP.6 PWMP.5 PWMP.4 PWMP.3 PWMP.2 PWMP.1 PWMP.0 BIT SYMBOL DESCRIPTION 7 to 1 PWMP.7 to PWMP.0 Prescaler division factor = (PWMP) + 1. 76543210 PWM0.7 PWM0.6 PWM0.5 PWM0.4 PWM0.3 PWM0.2 PWM0.1 PWM0.0 BIT SYMBOL DESCRIPTION 7 to 1 PWM0.7 to PWM0.0 LOW/HIGH ratio of PWM0 signal PWM0 () 255 PWM0 () – {} -------------------------------------------------- = |
|
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 |