| Electronic Components Datasheet Search |
|
P87LPC778FDH Datasheet(PDF) 24 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P87LPC778FDH Datasheet(HTML) 24 Page - NXP Semiconductors |
|
24 / 79 page ![]() Philips Semiconductors P87LPC778 CMOS single-chip 8-bit microcontroller Product data Rev. 01 — 31 March 2004 24 of 79 9397 750 12378 © Koninklijke Philips Electronics N.V. 2004. All rights reserved. If PWMCON1 is written with Transfer set without Run being enabled the transfer will never take place. If a subsequent write sets Run without Transfer the compare and counter values will not be updated. If Transfer and Run are set, and prior to underflow there is a subsequent load of PWMCON0 which sets Run but not Transfer, the transfer will never take place. The compare and counter values that existed prior to the update attempt will be used. As outlined above the Transfer bit can be polled to determine when the transfer occurs. Unless there is a compelling reason to do otherwise, it is recommended that both Run, PWMCON0.7, and Transfer, PWMCON0.6, be set when PWMCON0 is written. When the Run bit, PWMCON0.7, is cleared the PWM outputs take on the state they had just prior to the bit being cleared. In general this state is not known. In order to place the outputs in a known state when Run is cleared the Compare registers can be written to either the ‘always 1’ or ‘always 0’ so the output will have the output desired when the counter is halted. After this PWMCON0 should be written with the Transfer and Run bits are enabled. After this is done PWMCON0 is polled to find that the Transfer has taken place. Once the transfer has occurred the Run bit in PWMCON0 can be cleared. The outputs will retain the state they had just prior to the Run being cleared. Table 18: PWMCON0 - PWM control register 0 (address 0DAH) bit allocation Reset value: 00H Bit 7 6 5 4 3 2 1 0 Symbol RUN XFER PWM3I PWM2I - PWM1I PWM0I - Table 19: PWMCON0 - PWM control register 0 (address 0DAH) bit description Bit Symbol Value Description 7 RUN 0 Counter halted and preset value loaded. If Brake is asserted, PWMx output will be equal to the value of the corresponding PWMxB bit (PWMCON1[3:0]). If Brake is not asserted, PWMx output will be equal to the Value after compare. 1 Counter run 6 XFER 0 Counter run 1 Counter and compare shadow registers are not connected to the active registers 5 PWM3I 0 PWM3 output is non-inverted. Output is a ‘1’ from the start of the cycle until compare; ‘0’ thereafter. 1 PWM3 output is inverted. Output is a ‘0’ from the start of the cycle until compare; ‘0’ thereafter. 4 PWM2I 0 PWM2 output is non-inverted. Output is a ‘1’ from the start of the cycle until compare; ‘0’ thereafter. 1 PWM2 output is inverted. Output is ‘0’ from the start of the cycle until compare; ‘1’ thereafter. |
|
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 |