
79
/
246
ABOV Semiconductor
Port Control Unit - PCU
PCn.CR
PORT n Pin Control Register (Except for PCC.CR)
2.3.5
Input or output control of each port pin. Each pin can be configured as input pin, output pin or open-drain pin.
PCA.CR=0x4000_1004, PCB.CR=0x4000_1104, PCD.CR=0x4000_1304
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Pn
Port control
00
Push-pull output
01
Open-drain output
10
Input
11
Analog
PCC.CR
PORT C Pin Control Register
2.3.6
Input or output control of each port pin. Each pin can be configured as input pin, output pin or open-drain pin.
PCC.CR=0x4000_1204
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
11
11
11
11
10
10
11
11
11
11
11
11
11
11
10
10
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Pn
Port control
00
Push-pull output
01
Open-drain output
10
Input
11
Analog
PCn.PCR
PORT n Pull-up Resistor Control Register (Except for PCC.PCR)
2.3.7
Every pin in the port has on-chip pull-up resistors which can be configured by PCn.PCR registers.
PCA.PCR=0x4000_1008, PCB.PCR=0x4000_1108
PCD.PCR=0x4000_1308
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P
U
E15
PU
E14
P
U
E13
P
U
E12
P
U
E11
P
U
E10
P
U
E9
P
U
E8
P
U
E7
P
U
E6
P
U
E5
P
U
E4
P
U
E3
P
U
E2
P
U
E1
P
U
E0
0000
RW
n
PUEn
Port pull-up control
0
Disable pull-up resistor
1
Enable pull-up resister
Summary of Contents for AC30M1x32
Page 3: ...3 246 ABOV Semiconductor INTRODUCTION SECTION 1 INTRODUCTION ...
Page 4: ...4 246 4 246 AC30M1x64 1x32 ABOV Semiconductor OVERVIEW CHAPTER 1 ...
Page 18: ...18 246 18 246 ABOV Semiconductor AC30M1x64 1x32 CPU CHAPTER 2 ...
Page 22: ...22 246 22 246 ABOV Semiconductor AC30M1x64 1x32 Boot Mode CHAPTER 3 ...
Page 26: ...26 246 26 246 ABOV Semiconductor AC30M1x64 1x32 SECTION 2 PERIPHERALS ...
Page 27: ...27 246 ABOV Semiconductor System Control Unit SCU SYSTEM CONTROL UNIT SCU CHAPTER 1 ...
Page 69: ...69 246 ABOV Semiconductor Port Control Unit PCU PORT CONTROL UNIT PCU CHAPTER 2 ...
Page 85: ...85 246 ABOV Semiconductor General Purpose I O GPIO GENERAL PURPOSE I O GPIO CHAPTER 3 ...
Page 92: ...92 246 92 246 AC30M1x64 1x32 ABOV Semiconductor FLASH MEMORY CONTROLLER CHAPTER 4 ...
Page 105: ...105 246 ABOV Semiconductor Internal SRAM INTERNAL SRAM CHAPTER 5 ...
Page 107: ...107 246 ABOV Semiconductor Watch Dog Timer WATCH DOG TIMER WDT CHAPTER 6 ...
Page 113: ...113 246 ABOV Semiconductor 16 bit Timer 16 BIT TIMER CHAPTER 7 ...
Page 129: ...129 246 ABOV Semiconductor FRT FREE RUN TIMER FRT CHAPTER 8 ...
Page 134: ...134 246 134 246 ABOV Semiconductor AC30M1x64 1x32 FUNCTION DESCRIPTION 8 3 ...
Page 135: ...135 246 UART ABOV Semiconductor UNIVERSAL ASYNCHRONOUS CHAPTER 9 RECEIVER TRANSMITTER UART ...
Page 151: ...151 246 ABOV Semiconductor UART Figure 9 6 Transmit interrupt timing diagram ...
Page 152: ...152 246 152 246 ABOV Semiconductor AC30M1x64 1x32 SERIAL PERIPHERAL INTERFACE SPI CHAPTER 10 ...
Page 164: ...164 246 164 246 ABOV Semiconductor AC30M1x64 1x32 I2 C Interface CHAPTER 11 ...
Page 185: ...185 246 ABOV Semiconductor Motor PWM MOTOR PULSE WIDTH MODULATOR CHAPTER 12 MPWM ...
Page 215: ...215 246 ABOV Semiconductor Divider DIVIDER DIV64 CHAPTER 13 ...
Page 221: ...221 246 ABOV Semiconductor 12 BIT A D Converter 12BIT A D CONVERTER CHAPTER 14 ...
Page 235: ...235 246 ABOV Semiconductor CHARACTERISTIC SECTION 3 CHARACTERISTIC ...
Page 236: ...236 246 236 246 ABOV Semiconductor AC30M1x64 1x32 Electrical Characteristic CHAPTER 1 ...
Page 243: ...243 246 ABOV Semiconductor Package Package CHAPTER 2 ...