| Electronic Components Datasheet Search |
|
MC68HC705SP7 Datasheet(PDF) 67 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MC68HC705SP7 Datasheet(HTML) 67 Page - Freescale Semiconductor, Inc |
|
67 / 164 page ![]() Port C (28-Pin Versions Only) MC68HC705JJ7 • MC68HC705JP7 Advance Information Data Sheet, Rev. 4.1 Freescale Semiconductor 67 7.4 Port C (28-Pin Versions Only) Port C is an 8-bit, general-purpose, bidirectional I/O port with these features: • Individual programmable pulldown devices • High current sinking capability on all port C pins, with a maximum total for port C • High current sourcing capability on all port C pins, with a maximum total for port C 7.4.1 Port C Data Register The port C data register (PORTC) contains a bit for each of the port C pins. When a port C pin is programmed to be an output, the state of its data register bit determines the state of the output pin. When a port C pin is programmed to be an input, reading the port C data register returns the logic state of the pin. PC7–PC0 — Port C Data Bits These read/write bits are software programmable. Data direction of each bit is under the control of the corresponding bit in the port C data direction register (DDRC). Reset has no effect on port C data. 7.4.2 Data Direction Register C The contents of the port C data direction register (DDRC) determine whether each port C pin is an input or an output. Writing a logic 1 to a DDRC bit enables the output buffer for the associated port C pin. A DDRC bit set to a logic 1 also disables the pulldown device for that pin. Writing a logic 0 to a DDRC bit disables the output buffer for the associated port C pin. A reset initializes all DDRC bits to logic 0s, configuring all port C pins as inputs. DDRC7–DDRC0 — Port C Data Direction Bits These read/write bits control port C data direction. Reset clears the DDRC7–DDRC0 bits. 1 = Corresponding port C pin configured as output and pulldown device disabled 0 = Corresponding port C pin configured as input Address: $0002 Bit 7 654321 Bit 0 Read: PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 Write: Reset: Unaffected by reset Figure 7-13. Port C Data Register (PORTC) Address: $0006 Bit 7 654321 Bit 0 Read: DDRC7 DDRC6 DDRC5 DDRC4 DDRC3 DDRC2 DDRC1 DDRC0 Write: Reset: 00000000 Figure 7-14. Data Direction Register C (DDRC) |
|
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 |