CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
101
(c) Port mode control register 2 (PMC2)
This is an 8-bit register that specifies the port mode or control mode.
This register can be read or written in 8-bit or 1-bit units.
0
PMC2
0
PMC22
PMC21
PMC20
I/O port
SCK4 I/O
PMC22
0
1
Specifies operation mode of P22 pin
I/O port
SO4 output
PMC21
0
1
Specifies operation mode of P21 pin
I/O port
SI4 input
PMC20
0
1
Specifies operation mode of P20 pin
After reset: 00H
R/W
Address: FFFFF444H
(d) Port function register 2 (PF2)
This 8-bit register specifies normal output or N-ch open-drain output.
It can be read or written in 8-bit or 1-bit units.
0
Normal output
N-ch open-drain output
PF2n
0
1
Controls normal output or N-ch open-drain output (n = 1, 2)
PF2
0
PF22
PF21
0
After reset: 00H
R/W
Address: FFFFFC64H
Cautions 1. The N-ch open-drain output voltage is the normal voltage, not the medium voltage.
2. PF2n = 1 is enabled only in the following cases. Otherwise, the setting is prohibited.
n = 1: SO4
n = 2: SCK4
相关PDF资料
PIC16LF1934-I/PT IC PIC MCU FLASH 256KX7 44-TQFP
PIC16C58B-20/P IC MCU OTP 2KX12 18DIP
PIC18F24K20-I/SP IC PIC MCU FLASH 8KX16 28-DIP
PIC16F1936-I/SP IC PIC MCU FLASH 512KX14 28SPDIP
PIC18F43K20-I/PT IC PIC MCU FLASH 4KX16 44-TQFP
PIC16F627A-I/SS IC MCU FLASH 1KX14 EEPROM 20SSOP
DSPIC30F6014T-20E/PF IC DSPIC MCU/DSP 144K 80TQFP
PIC16F737-E/SS IC PIC MCU FLASH 4KX14 28SSOP
相关代理商/技术参数
PIC24F16KL402T-I/ML 功能描述:16位微控制器 - MCU 16KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F16KL402T-I/MQ 功能描述:16位微控制器 - MCU 16KB FL 1KB RAM 512B 3V 10-bit ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F16KL402T-I/SO 功能描述:16位微控制器 - MCU 16KB FLASH 1KB RAM 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F16KL402T-I/SS 功能描述:16位微控制器 - MCU 16KB FLASH 1KB RAM 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F16KM102-E/ML 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 16KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 16KB FLASH 28QFN 制造商:Microchip Technology Inc 功能描述:16 Bit MCU, 16KB Flash, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12-bit ADC, Comparator
PIC24F16KM102-E/SO 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 16KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 16KB FLASH 28SOIC 制造商:Microchip Technology Inc 功能描述:16 Bit MCU, 16KB Flash, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12-bit ADC, Comparator
PIC24F16KM102-E/SP 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 16KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 16KB FLASH 28SPDIP 制造商:Microchip Technology Inc 功能描述:16 Bit MCU, 16KB Flash, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12-bit ADC, Comparator
PIC24F16KM102-E/SS 制造商:Microchip Technology Inc 功能描述: 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 16KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 16KB FLASH 28SSOP 制造商:Microchip Technology Inc 功能描述:16-bit Microcontrollers - MCU 16 Bit MCU, 16 KB Flash, 1KB RAM