CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
163
(2) Registers
(a) Port register DH (PDH)
Port register PDH (PDH) is an 8-bit register that controls reading the pin level and writing the output level.
This register can be read or written in 8-bit or 1-bit units.
Outputs 0.
Outputs 1.
PDHn
0
1
Controls output data (in output mode) (V850ES/SA2: n = 0 to 5, V850ES/SA3: n = 0 to 7)
PDH
After reset: Undefined
R/W
Address: FFFFF006H
PDH7Note PDH6Note
PDH5
PDH4
PDH3
PDH2
PDH1
PDH0
Note
Bits 7 and 6 are provided in the V850ES/SA3 only. Be sure to clear these bits to 0 in the V850ES/SA2.
Remarks 1. In input mode:
When port DH (PDH) is read, the pin level at that time is read. When written, the
data written to PDH is written. The input pin is not affected.
In output mode: When port DH (PDH) is read, the value of PDH is read. When a value is written
to PDH, it is immediately output.
2. After reset, an undefined value (pin input level) is read from PDH in the input mode. When PDH is
read in the output mode, 00H (value of the output latch) is read.
(b) Port mode register DH (PMDH)
This is an 8-bit register that specifies the input or output mode.
This register can be read or written in 8-bit or 1-bit units.
PMDH7Note
Output mode
Input mode
PMDHn
0
1
Controls input/output mode (V850ES/SA2: n = 0 to 5, V850ES/SA3: n = 0 to 7)
PMDH6Note
PMDH5
PMDH4
PMDH3
PMDH2
PMDH1
PMDH0
After reset: FFH
R/W
Address: FFFFF026H
PMDH
Note
Bits 7 and 6 are provided in the V850ES/SA3 only. Be sure to set these bits to 1 in the V850ES/SA2.
相关PDF资料
PIC18LF1220T-I/ML IC MCU FLASH 2KX16 EEPROM 28QFN
PIC18LF1220T-I/SO IC MCU FLASH 2KX16 EEPROM 18SOIC
PIC16F716-I/SS IC PIC MCU FLASH 2KX14 20SSOP
PIC18F1320T-E/ML IC MCU FLASH 4KX16 EEPROM 28QFN
PIC16LF87T-I/ML IC MCU FLASH 4KX14 EEPROM 28QFN
PIC18F25J10-I/SS IC PIC MCU FLASH 16KX16 28SSOP
PIC16F88T-E/SS IC MCU FLASH 4KX14 EEPROM 20SSOP
PIC16C621A-04/SO IC MCU OTP 1KX14 COMP 18SOIC
相关代理商/技术参数
PIC24F08KL301T-I/MQ 功能描述: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
PIC24F08KL301T-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
PIC24F08KL301T-I/SS 功能描述: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
PIC24F08KL302 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F08KL302-I/ML 功能描述: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
PIC24F08KL302-I/MQ 功能描述:16位微控制器 - MCU 8KB FL 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
PIC24F08KL302-I/SO 功能描述: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
PIC24F08KL302-I/SP 功能描述: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