參數(shù)資料
型號: PIC18F242-I/SO
廠商: Microchip Technology
文件頁數(shù): 3/134頁
文件大?。?/td> 0K
描述: IC MCU FLASH 8KX16 EE A/D 28SOIC
產(chǎn)品培訓(xùn)模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 27
系列: PIC® 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 40MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,LVD,POR,PWM,WDT
輸入/輸出數(shù): 23
程序存儲器容量: 16KB(8K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 256 x 8
RAM 容量: 768 x 8
電壓 - 電源 (Vcc/Vdd): 4.2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 5x10b
振蕩器型: 外部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-SOIC(0.295",7.50mm 寬)
包裝: 管件
配用: XLT28SO-1-ND - SOCKET TRANSITION 28SOIC 300MIL
其它名稱: PIC18F242I/SO
PIC16C9XX
DS30444E - page 100
1997 Microchip Technology Inc.
13.4.1
SEGMENT ENABLES
The LCDSE register is used to select the pin function
for groups of pins. The selection allows each group of
pins to operate as either LCD drivers or digital only
pins. To congure the pins as a digital port, the corre-
sponding bits in the LCDSE register must be cleared.
If the pin is a digital I/O the corresponding TRIS bit con-
trols the data direction. Any bit set in the LCDSE regis-
ter overrides any bit settings in the corresponding TRIS
register.
Note 1: On a Power-on Reset these pins are con-
gured as LCD drivers.
Note 2: The LMUX1:LMUX0 takes precedence
over the LCDSE bit settings for pins RD7,
RD6 and RD5.
EXAMPLE 13-1: STATIC MUX WITH 32
SEGMENTS
BCF
STATUS,RP0
;Select Bank 2
BSF
STATUS,RP1
;
BCF
LCDCON,LMUX1 ;Select Static MUX
BCF
LCDCON,LMUX0 ;
MOVLW 0xFF
;Make PortD,E,F,G
MOVWF LCDSE
;LCD pins
. . .
;configure rest of LCD
EXAMPLE 13-2: 1/3 MUX WITH 13
SEGMENTS
BCF
STATUS,RP0
;Select Bank 2
BSF
STATUS,RP1
;
BSF
LCDCON,LMUX1 ;Select 1/3 MUX
BCF
LCDCON,LMUX0 ;
MOVLW 0x87
;Make PORTD<7:0> &
MOVWF LCDSE
;PORTE<6:0> LCD pins
. . .
;configure rest of LCD
FIGURE 13-12:LCDSE REGISTER (ADDRESS 10Dh)
R/W-1
SE29
SE27
SE20
SE16
SE12
SE9
SE5
SE0
R =Readable bit
W =Writable bit
U =Unimplemented bit,
Read as ‘0’
-n =Value at POR reset
bit7
bit0
bit 7:
SE29: Pin function select
RD7/COM1/SEG31 - RD5/COM3/SEG29
1 = pins have LCD drive function
0 = pins have digital Input function
The LMUX1:LMUX0 setting takes precedence over the LCDSE register.
bit 6:
SE27: Pin function select
RG7/SEG28 and RE7/SEG27
1 = pins have LCD drive function
0 = pins have digital Input function
bit 5:
SE20: Pin function select
RG6/SEG26 - RG0/SEG20
1 = pins have LCD drive function
0 = pins have digital Input function
bit 4:
SE16: Pin function select
RF7/SEG19 - RF4/SEG16
1 = pins have LCD drive function
0 = pins have digital Input function
bit 3:
SE12: Pin function select
RF3/SEG15 - RF0/SEG12
1 = pins have LCD drive function
0 = pins have digital Input function
bit 2:
SE9: Pin function select
RE6/SEG11 - RE4/SEG09
1 = pins have LCD drive function
0 = pins have digital Input function
bit 1:
SE5: Pin function select
RE3/SEG08 - RE0/SEG05
1 = pins have LCD drive function
0 = pins have digital Input function
bit 0:
SE0: Pin function select
RD4/SEG04 - RD0/SEG00
1 = pins have LCD drive function
0 = pins have digital I/O function
相關(guān)PDF資料
PDF描述
AT91SAM7S512-MU-999 IC MCU ARM7 512KB FLASH 64-VQFN
DSPIC33FJ32GS608-I/PT IC MCU/DSP 32KB FLASH 80TQFP
AT91SAM7XC256-CU-999 IC MCU ARM7 256KB FLASH 100TFBGA
AT91SAM7X256-CU-999 IC MCU ARM7 256KB FLASH 100TFBGA
DSPIC33FJ64MC802-E/SO IC DSPIC MCU/DSP 64K 28-SOIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC18F242T-E/SO 功能描述:8位微控制器 -MCU 40MHz 16KB Flash RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC18F242T-I/SO 功能描述:8位微控制器 -MCU 16KB 768 RAM 23I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC18F2431-E/ML 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC18F2431-E/MM 功能描述:8位微控制器 -MCU 16 KB FL 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC18F2431-E/SO 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT