CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
168
(b) Port mode register DL (PMDL)
This is a 16-bit register that specifies the input or output mode.
This register can be read or written only in 16-bit units.
If the higher 8 bits of the PMDL register are used as PMDLH, and the lower 8 bits as PMDLL, however,
PMDLH and PMDLL can be read or written in 8-bit or 1-bit units.
PMDL7
Output mode
Input mode
PMDLn
0
1
Controls input/output mode (n = 0 to 15)
PMDL6
PMDL5
PMDL4
PMDL3
PMDL2
PMDL1
PMDL0
After reset: FFFFH
R/W
Address: PMDL FFFFF024H,
PMDLL FFFFF024H, PMDLH FFFFF025H
PMDL15
PMDLH (PMDLHNote)
(PMDLL)
PMDL14
PMDL13 PMDL12
PMDL11 PMDL10
PMDL9
PMDL8
8
9
10
11
12
13
14
15
Note
When reading or writing bits 8 to 15 of the PMDL register in 8-bit or 1-bit units, specify these bits as bits
0 to 7 of the PMDLH register.
(c) Port mode control register DL (PMCDL)
This is a 16-bit register that specifies the port mode or control mode.
It can be read or written only in 16-bit units.
If the higher 8 bits of the PMCDL register are used as PMCDLH, and the lower 8 bits as PMCDLL,
however, PMCDLH and PMCDLL can be read or written in 8-bit units.
I/O port
ADn output (address/data bus input/output)
PMCDLn
0
1
Specifies operation mode of PDLn pin (n = 0 to 15)
PMCDL7 PMCDL6 PMCDL5 PMCDL4 PMCDL3 PMCDL2 PMCDL1 PMCDL0
After reset: 0000H
R/W
Address: PMCDL FFFFF044H,
PMCDLL FFFFF044H, PMCDLH FFFFF045H
PMCDL15
PMCDL (PMCDLHNote)
(PMCDLL)
PMCDL14PMCDL13 PMCDL12 PMCDL11PMCDL10 PMCDL9 PMCDL8
8
9
10
11
12
13
14
15
Note
When reading or writing bits 8 to 15 of the PMCDL register in 8-bit or 1-bit units, specify these bits as bits
0 to 7 of the PMCDLH register.
Caution
Do not specify AD8 to AD15 when the SMSEL bit of the EXIMC register = 1 (separate mode)
and when the BS30 to BS00 bits of the BSC register = 0 (8-bit bus width).
相关PDF资料
PIC16F689-I/SO IC PIC MCU FLASH 4KX14 20SOIC
PIC16F689-I/ML IC PIC MCU FLASH 4KX14 20QFN
PIC16F685-I/SO IC PIC MCU FLASH 4KX14 20SOIC
PIC16F886-I/SO IC PIC MCU FLASH 8KX14 28SOIC
PIC18LF6680T-I/L IC PIC MCU FLASH 32KX16 68PLCC
PIC16C54C-20I/SS IC MCU OTP 512X12 20SSOP
PIC16C621A-20/P IC MCU OTP 1KX14 COMP 18DIP
PIC18F4439-E/P IC PIC MCU FLASH 6KX16 40DIP
相关代理商/技术参数
PIC24F08KL401T-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
PIC24F08KL401T-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
PIC24F08KL401T-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
PIC24F08KL402 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F08KL402-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
PIC24F08KL402-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
PIC24F08KL402-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
PIC24F08KL402-I/SP 功能描述: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