| Electronic Components Datasheet Search |
|
M68HC05 Datasheet(PDF) 57 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
M68HC05 Datasheet(HTML) 57 Page - Freescale Semiconductor, Inc |
|
57 / 302 page ![]() MC68HC05B6 Rev. 4.1 Freescale 4-5 INPUT/OUTPUT PORTS 4 4.5.3 Port data register D (PORTD) All the port D bits are input-only and are shared with the A/D converter. The function of each bit is determined by the ADON bit in the A/D status/control register. The state of the port data registers following reset is not defined. 4.5.3.1 A/D status/control register ADON — A/D converter on 1 (set) – A/D converter is switched on; all port D pins act as analog inputs for the A/D converter. 0 (clear) – A/D converter is switched off; all port D pins act as input only pins. Reset clears the ADON bit, thus configuring port D as an input only port. 4.5.4 Data direction registers (DDRA, DDRB and DDRC) Writing a ‘1’ to any bit configures the corresponding port pin as an output; conversely, writing any bit to ‘0’ configures the corresponding port pin as an input. Reset clears these registers, thus configuring all ports as inputs. Address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 State on reset Port D data (PORTD) $0003 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 Undefined Address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 State on reset A/D status/control $0009 COCO ADRC ADON 0 CH3 CH2 CH1 CH0 0000 0000 Address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 State on reset Port A data direction (DDRA) $0004 0000 0000 Port B data direction (DDRB) $0005 0000 0000 Port C data direction (DDRC) $0006 0000 0000 |
|
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 |