
10-33
ML63326 User's Manual
Chapter 10 Ports (INPUT, OUTPUT, I/O PORT)
10
(4) Port E mode register (PEMOD)
PEMOD is a 4-bit special function register (SFR) used to select the sampling frequency when
PE.3 is used as an external interrupt. It is also used to select port E secondary functions other
than external interrupt.
The external interrupt sampling frequency can be selected as either 128 Hz or 4 kHz.
Port E secondary functions are indicated in Table 10-4.
Table 10-4 Port E Secondary Functions
Port
Secondary function
Description
PE.0
SIN
Shift register data input
PE.1
SOUT
Shift register data output
PE.2
SCLK
Shift register clock I/O
PE.3
INT2
External interrupt 2
PEF
PE2MOD
PE1MOD
PE0MOD
PEMOD (040H)
(R/W)
bit 3
bit 2
bit 1
bit 0
External interrupt sampling frequency select
0: 128 Hz sampling (initial value)
1: 4 kHz sampling
Port E.1 pin function select
0: Input/output port function (initial value)
1: Shift register data output (SOUT) function (goes into output mode irrespective of PE1DIR)
Port E.2 pin function select
0: Input/output port function (initial value)
1: Shift register clock input/output (SCLK) function
(Switching of input/output mode depends on the input/output selection of
the shift clock of the shift register control register SFTCON0, irrespective
of the PE2DIR value.)
Port E.0 pin function select
0: Input/output port function (initial value)
1: Shift register data input (SIN) function (goes into input mode irrespective of PE0DIR)
At system reset the PEMOD is initialized to "0".
Содержание ML63326
Страница 3: ......
Страница 13: ......
Страница 14: ...Chapter 1 Overview 1 ...
Страница 15: ......
Страница 37: ...1 22 ML63326 User s Manual Chapter 1 Overview ...
Страница 38: ...Chapter 2 CPU and Memory Spaces 2 ...
Страница 39: ......
Страница 50: ...CPU Control Functions Chapter 3 3 ...
Страница 51: ......
Страница 57: ...3 6 ML63326 User s Manual Chapter 3 CPU Control Functions ...
Страница 58: ...Interrupt INT326 Chapter 4 4 ...
Страница 59: ......
Страница 71: ...4 12 ML63326 User s Manual Chapter 4 Interrupt INT326 ...
Страница 72: ...Clock Generator Circuit OSC Chapter 5 5 ...
Страница 73: ......
Страница 83: ...5 10 ML63326 User s Manual Chapter 5 Clock Generator Circuit OSC ...
Страница 84: ...Time Base Counter TBC Chapter 6 6 ...
Страница 85: ......
Страница 90: ...Timers TIMER Chapter 7 7 ...
Страница 91: ......
Страница 115: ...7 24 ML63326 User s Manual Chapter 7 Timers TIMER ...
Страница 116: ...Chapter 8 8 100 Hz Timer Counter 100HzTC ...
Страница 117: ......
Страница 121: ...8 4 ML63326 User s Manual Chapter 8 100 Hz Timer Counter 100HzTC ...
Страница 122: ...Chapter 9 9 Watchdog Timer WDT ...
Страница 123: ......
Страница 128: ...Chapter 10 10 Ports INPUT OUTPUT I O PORT ...
Страница 129: ......
Страница 170: ...Chapter 11 11 External Memory Transfer Function EXTMEM ...
Страница 171: ......
Страница 179: ...11 8 ML63326 User s Manual Chapter 11 External Memory Transfer Function EXTMEM ...
Страница 180: ...Chapter 12 12 Melody Driver MELODY63K ...
Страница 181: ......
Страница 195: ...12 14 ML63326 User s Manual Chapter 12 Melody Driver MELODY63K ...
Страница 196: ...13 Chapter 13 Voice Synthesis ...
Страница 197: ......
Страница 228: ...14 Chapter 14 Shift Register SFT ...
Страница 229: ......
Страница 236: ...15 Chapter 15 LCD Driver LCD ...
Страница 237: ......
Страница 250: ...16 Chapter 16 Battery Low Detect Circuit BLD ...
Страница 251: ......
Страница 255: ...16 4 ML63326 User s Manual Chapter 16 Battery Low Detect Circuit BLD ...
Страница 256: ...Chapter 17 17 Power Supply Circuit POWER ...
Страница 257: ......
Страница 260: ...Appendixes ...
Страница 261: ......
Страница 321: ...Appendix 60 ML63326 User s Manual Appendix G ...