ML63611 User’s Manual
Chapter 10 Ports (INPUT, I/O PORT)
10 – 8
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
10.4.2 Port A Registers
(1) Port A data register (PAD)
PAD is a 4-bit special function register (SFR) used to set the output values for the port.
When a bit in the port direction register (PADIR) is set to “1” to select the output mode, the content of the
corresponding bit in the port data register (PAD) is output to the port (port A).
When a bit in the port data register (PAD) is read with the corresponding port direction register bit set to
output, the value of the bit in the port data register is read.
When a bit in the port data register (PAD) is read with the corresponding port direction register bit set to “0”
(input mode), the level of the corresponding pin is read.
•
Port A
At system reset all bits in the port A data register are set to “0”. When data is written to the port A data
register, the actual pin change timing is at the rising edge of the system clock for state 2 of the write
instruction.
Figure 10-5 shows port A change timing.
Figure 10-5 Port A Change Timing
S1
S2
Old data
New data
CLK
Port A
Write instruction
PA3
PA2
PA1
PA0
PAD (00AH)
(R/W)
bit 3
bit 2
bit 1
bit 0
Port A input/output data
Содержание ML63611
Страница 9: ...Chapter 1 Overview...
Страница 33: ...Chapter 2 CPU and Memory Spaces...
Страница 42: ...Chapter 3 CPU Control Functions...
Страница 49: ...Chapter 4 Interrupt INT...
Страница 62: ...Chapter 5 Clock Generator Circuit OSC...
Страница 71: ...Chapter 6 Time Base Counter TBC...
Страница 75: ...Chapter 7 Timers TIMER...
Страница 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Страница 103: ...Chapter 9 Watchdog Timer WDT...
Страница 108: ...Chapter 10 Ports INPUT I O PORT...
Страница 140: ...Chapter 11 Melody Driver MELODY...
Страница 152: ...Chapter 12 Serial Port SIO...
Страница 179: ...Chapter 13 LCD Driver LCD...
Страница 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Страница 204: ...Chapter 15 Power Supply Circuit POWER...
Страница 215: ...Chapter 16 A D Converter ADC...
Страница 238: ...Appendixes...
Страница 271: ...ML63611 User s Manual First Edition May 2001 Second Edition June 2001 2001 Oki Electric Industry Co Ltd PEUL63611 02...