参数资料
型号: PIC18F45J50-I/ML
厂商: Microchip Technology
文件页数: 50/164页
文件大小: 0K
描述: IC PIC MCU FLASH 32K 2V 44-QFN
产品培训模块: XLP Deep Sleep Mode
PIC18 J Series MCU Overview
8-bit PIC® Microcontroller Portfolio
标准包装: 45
系列: 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-VQFN 裸露焊盘
包装: 管件
产品目录页面: 657 (CN2011-ZH PDF)
配用: AC164322-ND - MODULE SOCKET MPLAB PM3 28/44QFN
2011 Microchip Technology Inc.
DS39931D-page 143
PIC18F46J50 FAMILY
10.4
PORTC, TRISC and LATC
Registers
PORTC is an 8-bit wide, bidirectional port. The corre-
sponding Data Direction register is TRISC. Setting a
TRISC bit (= 1) will make the corresponding PORTC
pin an input (i.e., put the corresponding output driver in
a High-Impedance mode). Clearing a TRISC bit (= 0)
will make the corresponding PORTC pin an output (i.e.,
put the contents of the output latch on the selected pin).
The Data Latch register (LATC) is also memory
mapped. Read-modify-write operations on the LATC
register read and write the latched output value for
PORTC.
PORTC is multiplexed with several peripheral functions
(see Table 10-7). The pins have Schmitt Trigger input
buffers.
When enabling peripheral functions, care should be
taken in defining TRIS bits for each PORTC pin. Some
peripherals override the TRIS bit to make a pin an output,
while other peripherals override the TRIS bit to make a
pin an input. The user should refer to the corresponding
peripheral section for additional information.
Pins, RC4 and RC5, are multiplexed with the USB
module. Depending on the configuration of the module,
they can serve as the differential data lines for the on-
chip USB transceiver, or the data inputs from an external
USB transceiver. When used as general purpose inputs,
both RC4 and RC5 input buffers depend on the level of
the voltage applied to the VUSB pin, instead of VDD, like
all other general purpose I/O pins. Therefore, if the RC4
or RC5 general purpose input capability will be used, the
VUSB pin should not be left floating.
Unlike other PORTC pins, RC4 and RC5 do not have
TRISC bits associated with them. As digital ports, they
can only function as digital inputs. When configured for
USB operation, the data direction is determined by the
configuration and status of the USB module at a given
time. If an external transceiver is used, RC4 and RC5
always function as inputs from the transceiver. If the on-
chip transceiver is used, the data direction is determined
by the operation being performed by the module at that
time.
The contents of the TRISC register are affected by
peripheral overrides. Reading TRISC always returns
the current contents, even though a peripheral device
may be overriding one or more of the pins.
EXAMPLE 10-4:
INITIALIZING PORTC
Note:
On a Power-on Reset, PORTC pins
(except RC2, RC4 and RC5) are config-
ured as digital inputs. RC2 will default as
an analog input (controlled by the
ANCON1 register). To use pins, RC4 and
RC5, as digital inputs, the USB module
must be disabled (UCON<3> = 0) and the
on-chip USB transceiver must be dis-
abled (UCFG<3> = 1). The internal USB
transceiver has a POR value of enabled.
CLRF
LATC
; Initialize output data
; latch values for logic
; output low value.
MOVLB
0x0F
; ANCONx registers are
; not in access bank
;Configure RC2/AN11 for digital input mode
BSF
ANCON1, PCFG11, BANKED
;Disable USB transceiver to use RC4/RC5 as
;general purpose inputs
BCF
UCON, USBEN
;Disable USB module
BSF
UCFG, UTRDIS
;Disable USB transceiver
MOVLW
0x3F
; RC0 configured as digital input
MOVWF
TRISC
; RC1 configured as digital input
; RC2 configured as digital input
; RC4 configured as digital input
; RC5 configured as digital input
; RC6 configured as digital output
; RC7 configured as digital output
相关PDF资料
PDF描述
ATMEGA128L-8AC IC AVR MCU 128K 8MHZ LV 64-TQFP
ATMEGA128-16AI IC AVR MCU 128K 16MHZ 64-TQFP
PIC24EP64GP202-I/SS MCU 16BIT 64KB FLASH 28SSOP
ATMEGA128-16AC IC AVR MCU 128K 16MHZ 64-TQFP
PIC18LF26J50-I/ML IC PIC MCU FLASH 64K 2V 28-QFN
相关代理商/技术参数
参数描述
PIC18F45J50T-I/ML 功能描述:8位微控制器 -MCU Full Spd USB 32KB 4KBRAM nanoWatt 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
PIC18F45J50T-I/PT 功能描述:8位微控制器 -MCU Full Spd USB 32KB 4KBRAM nanoWatt 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/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