| Electronic Components Datasheet Search |
|
80C554 Datasheet(PDF) 19 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
80C554 Datasheet(HTML) 19 Page - NXP Semiconductors |
|
19 / 76 page ![]() Philips Semiconductors Preliminary specification 80C554/83C554/87C554 80C51 8-bit microcontroller – 6 clock operation 16K/512 OTP/ROM/ROMless, 7 channel 10 bit A/D, I2C, PWM, capture/compare, high I/O, 64L LQFP 2000 Nov 10 19 CTP0 BIT SYMBOL CAPTURE/INTERRUPT ON: CTCON.7 CTN3 Capture Register 3 triggered by a falling edge on CT3I CTCON.6 CTP3 Capture Register 3 triggered by a rising edge on CT3I CTCON.5 CTN2 Capture Register 2 triggered by a falling edge on CT2I CTCON.4 CTP2 Capture Register 2 triggered by a rising edge on CT2I CTCON.3 CTN1 Capture Register 1 triggered by a falling edge on CT1I CTCON.2 CTP1 Capture Register 1 triggered by a rising edge on CT1I CTCON.1 CTN0 Capture Register 0 triggered by a falling edge on CT0I CTCON.0 CTP0 Capture Register 0 triggered by a rising edge on CT0I SU01085 CTN1 CTP1 CTN1 CTP2 CTN2 CTP3 CTN3 0 1 2 3 4 5 6 7 (LSB) (MSB) CTCON (EBH) Reset Value = 00H Figure 14. Capture Control Register (CTCON) When a match with CM1 occurs, the controller resets bits 0-5 of port 4 if the corresponding bits of the reset/toggle enable register RTE are at logic 1 (see Figure 15 for RTE register function). If RTE is “0”, then P4.n is not affected by a match between CM1 or CM2 and Timer 2. When a match with CM2 occurs, the controller “toggles” bits 6 and 7 of port 4 if the corresponding bits of the RTE are at logic 1. The port latches of bits 6 and 7 are not toggled. Two additional flip-flops store the last operation, and it is these flip-flops that are toggled. Thus, if the current operation is “set,” the next operation will be “reset” even if the port latch is reset by software before the “reset” operation occurs. The first “toggle” after a chip RESET will set the port latch. The contents of these two flip-flops can be read at STE.6 and STE.7 (corresponding to P4.6 and P4.7, respectively). Bits STE.6 and STE.7 are read only (see Figure 16 for STE register function). A logic 1 indicates that the next toggle will set the port latch; a logic 0 indicates that the next toggle will reset the port latch. CM0, CM1, and CM2 are reset by the RST signal. The modified port latch information appears at the port pin during S5P1 of the cycle following the cycle in which a match occurred. If the port is modified by software, the outputs change during S1P1 of the following cycle. Each port 4 bit can be set or reset by software at any time. A hardware modification resulting from a comparator match takes precedence over a software modification in the same cycle. When the comparator results require a “set” and a “reset” at the same time, the port latch will be reset. Timer T2 Interrupt Flag Register TM2IR: Eight of the nine Timer T2 interrupt flags are located in special function register TM2IR (see Figure 17). The ninth flag is TM2CON.4. The CT0I and CT1I flags are set during S4 of the cycle in which the contents of Timer T2 are captured. CT0I is scanned by the interrupt logic during S2, and CT1I is scanned during S3. CT2I and CT3I are set during S6 and are scanned during S4 and S5. The associated interrupt requests are recognized during the following cycle. If these flags are polled, a transition at CT0I or CT1I will be recognized one cycle before a transition on CT2I or CT3I since registers are read during S5. The CMI0, CMI1, and CMI2 flags are set during S6 of the cycle following a match. CMI0 is scanned by the interrupt logic during S2; CMI1 and CMI2 are scanned during S3 and S4. A match will be recognized by the interrupt logic (or by polling the flags) two cycles after the match takes place. The 16-bit overflow flag (T2OV) and the byte overflow flag (T2BO) are set during S6 of the cycle in which the overflow occurs. These flags are recognized by the interrupt logic during the next cycle. Special function register IP1 (Figure 17) is used to determine the Timer T2 interrupt priority. Setting a bit high gives that function a high priority, and setting a bit low gives the function a low priority. The functions controlled by the various bits of the IP1 register are shown in Figure 17. RP40 BIT SYMBOL FUNCTION RTE.7 TP47 If “1” then P4.7 toggles on a match between CM1 and Timer T2 RTE.6 TP46 If “1” then P4.6 toggles on a match between CM1 and Timer T2 RTE.5 RP45 If “1” then P4.5 is reset on a match between CM1 and Timer T2 RTE.4 RP44 If “1” then P4.4 is reset on a match between CM1 and Timer T2 RTE.3 RP43 If “1” then P4.3 is reset on a match between CM1 and Timer T2 RTE.2 RP42 If “1” then P4.2 is reset on a match between CM1 and Timer T2 RTE.1 RP41 If “1” then P4.1 is reset on a match between CM1 and Timer T2 RTE.0 RP40 If “1” then P4.0 is reset on a match between CM1 and Timer T2 SU01086 RO41 RP42 RP43 RP44 RP45 TP46 TP47 0 1 2 3 4 5 6 7 (LSB) (MSB) RTE (EFH) Reset Value = 00H Figure 15. Reset/Toggle Enable Register (RTE) |
|
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 |