Chapter 1 : Introduction to the HC12 Microcontroller - EngSoc
Chapter 1 : Introduction to the HC12 Microcontroller - EngSoc
Chapter 1 : Introduction to the HC12 Microcontroller - EngSoc
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
I/O Ports and I/O Addresses<br />
The 68<strong>HC12</strong> <strong>Microcontroller</strong><br />
Enable exchange of data between chip and external I/O devices<br />
- A port for a particular device identified by I/O Address<br />
Address<br />
Decoder<br />
Micro<br />
processor<br />
CE<br />
Interface<br />
chip 1<br />
CE<br />
Interface<br />
chip 1<br />
Data Bus<br />
Figure 7.1 Interface chip, I/O devices, and microprocessor<br />
H. Huang Transparency No.1-19<br />
The 68<strong>HC12</strong> <strong>Microcontroller</strong><br />
I/O Addressing Schemes: Isolated I/O<br />
- Based on a separate address space for I/O devices.<br />
- Programming: use dedicated instructions for I/O operations.<br />
Control (RD/WR)<br />
Processor<br />
Data<br />
Address<br />
Memory<br />
Memory Map<br />
FFFF<br />
0xFF<br />
0000<br />
I/O Map<br />
I/O Device<br />
I/O Control (IOR/IOW)<br />
0000<br />
H. Huang Transparency No.1-20