English
Language : 

MC912DG128ACPVE Datasheet, PDF (58/478 Pages) Freescale Semiconductor, Inc – Upward compatible with M68HC11 instruction set
Freescale Semiconductor, Inc.
Pinout and Signal Descriptions
general-purpose I/O. PEAR settings override DDRE settings. Because
PE[1:0] are input-only pins, only DDRE[7:2] have effect. Setting a bit in
the DDRE register makes the corresponding bit in port E an output;
clearing a bit in the DDRE register makes the corresponding bit in port E
an input. The default reset state of DDRE is all zeroes.
When the PUPE bit in the PUCR register is set, PE[7,3,2,1,0] are pulled
up. PE[7,3,2,0] are active pull-up devices. PUPCR is not in the address
map in peripheral mode.
Neither port E nor DDRE is in the map in peripheral mode or in the
internal map in expanded modes with EME set.
Setting the RDPE bit in register RDRIV causes all port E outputs to have
reduced drive level. RDRIV can be written once after reset. RDRIV is not
in the address map in peripheral mode. Refer to Bus Control and
Input/Output.
3.5.4 Port H
Technical Data
58
Port H pins are used for key wake-ups that can be used with the pins
configured as inputs or outputs. The key wake-ups are triggered with
either a rising or falling edge signal (KWPH). An interrupt is generated if
the corresponding bit is enabled (KWIEH). If any of the interrupts is not
enabled, the corresponding pin can be used as a general purpose I/O
pin. Refer to I/O Ports with Key Wake-up.
Register DDRH determines whether each port H pin is an input or output.
Setting a bit in DDRH makes the corresponding bit in port H an output;
clearing a bit in DDRH makes the corresponding bit in port H an input.
The default reset state of DDRH is all zeroes.
Register KWPH not only determines what type of edge the key wake ups
are triggered, but it also determines what type of resistive load is used
for port H input pins when PUPH bit is set in the PUCR register. Setting
a bit in KWPH makes the corresponding key wake up input pin trigger at
rising edges and loads a pull down in the corresponding port H input pin.
Clearing a bit in KWPH makes the corresponding key wake up input pin
trigger at falling edges and loads a pull up in the corresponding port H
input pin. The default state of KWPH is all zeroes.
MC68HC912DT128A — Rev 4.0
Pinout and Signal Descriptions
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA