| Electronic Components Datasheet Search |
|
MC68HC705SP7 Datasheet(PDF) 57 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MC68HC705SP7 Datasheet(HTML) 57 Page - Freescale Semiconductor, Inc |
|
57 / 164 page ![]() Port A MC68HC705JJ7 • MC68HC705JP7 Advance Information Data Sheet, Rev. 4.1 Freescale Semiconductor 57 PDICL — Lower Port C Pulldown Inhibit Bits (MC68HC705JP7) Writing to this write-only bit controls the port C pulldown devices on the lower four bits (PC0–PC3). Reading these pulldown register A bits returns undefined data. Reset clears bit PDICL. 1 = Lower four port C pins pulldown devices turned off 0 = Lower four port C pins pulldown devices turned on if pin has been programmed by the DDRC to be an input PDIA5–PDIA0 — Port A Pulldown Inhibit Bits Writing to these write-only bits controls the port A pulldown devices. Reading these pulldown register A bits returns undefined data. Reset clears bits PDIA5–PDIA0. 1 = Corresponding port A pin pulldown device turned off 0 = Corresponding port A pin pulldown device turned on if pin has been programmed by the DDRA to be an input 7.2.4 Port A External Interrupts The PIRQ bit in the MOR enables the PA3–PA0 pins to serve as external interrupt pins in addition to the IRQ/VPP pin. The active interrupt state for the PA3–PA0 pins is a logic 1 or a rising edge. A state of the PIRQ bit in the MOR determines whether external interrupt inputs are edge-sensitive only or both edge- and level-sensitive. Port A interrupts are also interactive with each other and the IRQ/VPP pin as described in 4.5 External Interrupts. NOTE When testing for external interrupts, the BIH and BIL instructions test the voltage on the IRQ/VPP pin, not the state of the internal IRQ signal. Therefore, BIH and BIL cannot test the port A external interrupt pins. 7.2.5 Port A Logic When a PA0:PA5 pin is programmed as an output, reading the port bit actually reads the value of the data latch and not the voltage on the pin itself. When a PA0:PA5 pin is programmed as an input, reading the port bit reads the voltage level on the pin. The data latch can always be written, regardless of the state of its DDR bit. Figure 7-4 shows the I/O logic of PA0–PA5 pins of port A. The data latch can always be written, regardless of the state of its DDR bits. Table 7-1 summarizes the operations of the port A pins. Table 7-1. Port A Pin Functions Port A Pin(s) SWPDI (in MOR) Port A PORTA Access (Pin or Data Register) Result on Port A Pins PDIAx DDRAx(1) 1. DDRA can always be read or written. Read Write Pulldown Pin PA0 PA1 PA2 PA3 PA4 PA5 000 Pin Data On PAx in 010 Pin Data Off PAx in 1 X 0 Pin Data Off PAx in X(2) 2. Don’t care X(2) 1 Data Data Off PAx out |
|
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 |