CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
117
(e) Port function register 4 (PF4)
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
PF4n
0
1
Controls normal output or N-ch open-drain output (n = 1, 2)
PF4
0
PF42
PF41
0
After reset: 00H
R/W
Address: FFFFFC68H
Cautions 1. The N-ch open-drain output voltage is the normal voltage, not the medium voltage.
2. PF4n = 1 is enabled only in the following cases. Otherwise, the setting is prohibited.
n = 1: SO0, SDA
n = 2: SCK0, SCL
3. Be sure to set N-ch open-drain output when using I
2C (the SDA and SCL pins).
4. Follow the procedure below to set N-ch open drain.
<1> Set the P4n bit to 1.
<2> Set the PF4n bit to 1.
<3> Set the CSIE0 bit of the CSIM0 register or the IICE bit of the IICC register to 1.
<4> Set the PFC4n bit.
<5> Set the PMC4n bit to 1.
(f) Pull-up resistor option register 4 (PU4)
This is an 8-bit register that specifies connection of an internal pull-up resistor.
This register can be read or written in 8-bit or 1-bit units.
0
Not connected.
Connected.
PU4n
0
1
Controls connection of internal pull-up resistor (n = 0 to 6)
PU4
PU46
PU45
PU44
PU43
PU42
PU41
PU40
After reset: 00H
R/W
Address: FFFFFC48H
相关PDF资料
PIC16F1936-I/MV IC MCU 8BIT 14KB FLASH 28UQFN
PIC16LF724-I/PT IC PIC MCU FLASH 7KB 44-TQFP
PIC16F724-I/MV MCU 7KB FLASH PROGRAM 40-UQFN
PIC16LF724-I/MV MCU PIC 7KB FLASH XLP 40-UQFN
PIC18F2331T-I/SO IC MCU FLASH 4KX16 28SOIC
PIC16LF873AT-I/SOG IC MCU FLASH 4KX14 28SOIC
PIC16LF819T-I/SOG IC MCU FLASH 2KX14 18SOIC
PIC16F724-I/PT IC PIC MCU FLASH 4KX14 44TQFP
相关代理商/技术参数
PIC24F08KL402T-I/ML 功能描述:16位微控制器 - MCU 8KB 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
PIC24F08KL402T-I/MQ 功能描述:16位微控制器 - MCU 8KB 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
PIC24F08KL402T-I/SO 功能描述:16位微控制器 - MCU 8KB 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
PIC24F08KL402T-I/SS 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 256B 3V 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
PIC24F08KM101-E/P 制造商:Microchip Technology 功能描述:THREE VOLTS LOW COST PIC24 K-SERIES WITH 08K FLASH, 1K RAM, AND XLP, 20-PIN 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 8 KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 8KB FLASH 20PDIP 制造商:Microchip Technology Inc 功能描述:16 Bit MCU 8 KB Flsh 1 KB RAM
PIC24F08KM101-E/SO 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 8 KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 8KB FLASH 20SOIC 制造商:Microchip Technology Inc 功能描述:16 Bit MCU, 8 KB Flash, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12-bit ADC, Comparator
PIC24F08KM101-E/SS 制造商:Microchip Technology Inc 功能描述:16 BIT MCU, 8 KB FLASH, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12 - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 8KB FLASH 20SSOP 制造商:Microchip Technology Inc 功能描述:16 Bit MCU, 8 KB Flash, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12-bit ADC, Comparator
PIC24F08KM101-I/P 制造商:Microchip Technology Inc 功能描述:IC MCU 16BIT 8KB FLASH 20PDIP 制造商:Microchip Technology Inc 功能描述:16 Bit MCU, 8 KB Flash, 1 KB RAM, 512B EEPROM, MCCP/SCCP, 12-bit ADC, Comparator