参数资料
型号: PIC18F45J50T-I/PT
厂商: Microchip Technology
文件页数: 53/164页
文件大小: 0K
描述: IC PIC MCU FLASH 32KB 44-TQFP
产品培训模块: PIC18 J Series MCU Overview
标准包装: 1,200
系列: PIC® XLP™ 18F
核心处理器: PIC
芯体尺寸: 8-位
速度: 48MHz
连通性: I²C,SPI,UART/USART,USB
外围设备: 欠压检测/复位,DMA,POR,PWM,WDT
输入/输出数: 34
程序存储器容量: 32KB(16K x 16)
程序存储器类型: 闪存
RAM 容量: 3.8K x 8
电压 - 电源 (Vcc/Vdd): 2.15 V ~ 3.6 V
数据转换器: A/D 13x10b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 44-TQFP
包装: 带卷 (TR)
PIC18F46J50 FAMILY
DS39931D-page 146
2011 Microchip Technology Inc.
10.5
PORTD, TRISD and LATD
Registers
PORTD is an 8-bit wide, bidirectional port. The corre-
sponding Data Direction register is TRISD. Setting a
TRISD bit (= 1) will make the corresponding PORTD
pin an input (i.e., put the corresponding output driver in
a High-Impedance mode). Clearing a TRISD bit (= 0)
will make the corresponding PORTD pin an output (i.e.,
put the contents of the output latch on the selected pin).
The Data Latch register (LATD) is also memory
mapped. Read-modify-write operations on the LATD
register read and write the latched output value for
PORTD.
All pins on PORTD are implemented with Schmitt Trigger
input buffers. Each pin is individually configurable as an
input or an output.
EXAMPLE 10-5:
INITIALIZING PORTD
Each of the PORTD pins has a weak internal pull-up. A
single control bit can turn on all the pull-ups. This is per-
formed by setting bit, RDPU (PORTE<7>). The weak
pull-up is automatically turned off when the port pin is
configured as an output. The pull-ups are disabled on a
POR. The integrated weak pull-ups consist of a semi-
conductor structure similar to, but somewhat different,
from a discrete resistor. On an unloaded I/O pin, the
weak pull-ups are intended to provide logic high indica-
tion, but will not necessarily pull the pin all the way to
VDD levels.
Note that the pull-ups can be used for any set of
features, similar to the pull-ups found on PORTB.
Note:
PORTD is available only on 44-pin devices.
Note:
On a POR, these pins are configured as
digital inputs.
CLRF
LATD
;Initialize output data
;levels for output pins
MOVLW
0x7F
;Example value used to
;initialize data direction
MOVWF
TRISD
;RD0-RD6 as inputs
;RD7 as output
TABLE 10-9:
PORTD I/O SUMMARY
Pin
Function
TRIS
Setting
I/O
Type
Description
RD0/PMD0/
SCL2
RD0
1
I
ST
PORTD<0> data input.
0
O
DIG
LATD<0> data output.
PMD0
1
I
ST/TTL Parallel Master Port data in.
0
O
DIG
Parallel Master Port data out.
SCL2
1
II2C/
SMB
I2C clock input (MSSP2 module); input type depends on
module setting.
0
OI2CI2C clock output (MSSP2 module); takes priority over port data.
RD1/PMD1/
SDA2
RD1
1
I
ST
PORTD<1> data input.
0
O
DIG
LATD<1> data output.
PMD1
1
I
ST/TTL Parallel Master Port data in.
0
O
DIG
Parallel Master Port data out.
SDA2
1
II2C/
SMB
I2C data input (MSSP2 module); input type depends on
module setting.
0
OI2CI2C data output (MSSP2 module); takes priority over port data.
RD2/PMD2/
RP19
RD2
1
I
ST
PORTD<2> data input.
0
O
DIG
LATD<2> data output.
PMD2
1
I
ST/TTL Parallel Master Port data in.
0
O
DIG
Parallel Master Port data out.
RP19
1
I
ST
Remappable Peripheral Pin 19 input.
0
O
DIG
Remappable Peripheral Pin 19 output.
Legend:
DIG = Digital level output; TTL = TTL input buffer; ST = Schmitt Trigger input buffer; I2C/SMB = I2C/SMBus
input buffer; x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
相关PDF资料
PDF描述
ADG706BRUZ IC MULTIPLEXER 16X1 28TSSOP
AD8192ACPZ IC SW MUX HDMI/DVI 2:1 56LFCSP
PIC18F4321T-I/PT IC PIC MCU FLASH 4KX16 44TQFP
ADG408BNZ IC MULTIPLEXER 8X1 16DIP
PIC32MX220F032DT-V/PT IC MCU 32BIT 32KB FLASH 44-TQFP
相关代理商/技术参数
参数描述
PIC18F45K20-E/ML 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F45K20-E/MV 功能描述:8位微控制器 -MCU 32KB FL 1536b RAM 8b Familynanowatt XLP RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F45K20-E/P 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F45K20-E/PT 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F45K20-I/ML 功能描述:8位微控制器 -MCU 32KB Flash 1536B RAM 25 I/O 8B RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT