| Electronic Components Datasheet Search |
|
HC05 Datasheet(PDF) 56 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
HC05 Datasheet(HTML) 56 Page - Motorola, Inc |
|
56 / 232 page ![]() MOTOROLA 4-2 MC68HC05X16 Rev. 1 INPUT/OUTPUT PORTS 4 Table 4-1 shows the effect of reading from or writing to an I/O pin in various circumstances. Note that the read/write signal shown is internal and not available to the user. 4.2 Ports A and B These ports are standard M68HC05 bidirectional I/O ports, each comprising a data register and a data direction register. Reset does not affect the state of the data register, but clears the data direction register, thereby returning all port pins to input mode. Writing a ‘1’ to any DDR bit sets the corresponding port pin to output mode. Wired-OR interrupts are provided on all pins of port B. If WOIE is enabled, any combination of high logic levels on port B pins which are programmed as inputs will trigger an external interrupt. See Section 10.2.3.2. Figure 4-1 Standard I/O port structure Table 4-1 I/O pin states R/W DDRn Action of MCU write to/read of data bit 0 0 The I/O pin is in input mode. Data is written into the output data latch. 0 1 Data is written into the output data latch, and output to the I/O pin. 1 0 The state of the I/O pin is read. 1 1 The I/O pin is in output mode. The output data latch is read. Latched data register bit DDRn DATA Input buffer Output buffer O/P data buffer DDRn DATA I/O Pin 100 111 0 0 tristate 0 1 tristate I/O Pin Output Input Data direction register bit 54 |
|
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 |