欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F24J10-I/SO 参数 Datasheet PDF下载

PIC18F24J10-I/SO图片预览
型号: PIC18F24J10-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能, RISC微控制器 [28/40/44-Pin High-Performance, RISC Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 368 页 / 5652 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第213页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第214页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第215页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第216页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第218页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第219页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第220页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第221页  
PIC18F45J10 FAMILY
18.0
10-BIT ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
The ADCON0 register, shown in Register 18-1,
controls the operation of the A/D module. The
ADCON1 register, shown in Register 18-2, configures
the functions of the port pins. The ADCON2 register,
shown in Register 18-3, configures the A/D clock
source, programmed acquisition time and justification.
The Analog-to-Digital (A/D) converter module has
10 inputs for the 28-pin devices and 13 for the 40/44-pin
devices. This module allows conversion of an analog
input signal to a corresponding 10-bit digital number.
The module has five registers:
A/D Result High Register (ADRESH)
A/D Result Low Register (ADRESL)
A/D Control Register 0 (ADCON0)
A/D Control Register 1 (ADCON1)
A/D Control Register 2 (ADCON2)
REGISTER 18-1:
R/W-0
ADCAL
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
ADCON0: A/D CONTROL REGISTER 0
U-0
R/W-0
CHS3
R/W-0
CHS2
R/W-0
CHS1
R/W-0
CHS0
R/W-0
GO/DONE
R/W-0
ADON
bit 0
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
ADCAL:
A/D Calibration bit
1
= Calibration is performed on next A/D conversion
0
= Normal A/D converter operation (no calibration is performed)
Unimplemented:
Read as ‘0’
CHS<3:0>:
Analog Channel Select bits
0000
= Channel 0 (AN0)
0001
= Channel 1 (AN1)
0010
= Channel 2 (AN2)
0011
= Channel 3 (AN3)
0100
= Channel 4 (AN4)
0101
= Channel 5 (AN5)
(1,2)
0110
= Channel 6 (AN6)
(1,2)
0111
= Channel 7 (AN7)
(1,2)
1000
= Channel 8 (AN8)
1001
= Channel 9 (AN9)
1010
= Channel 10 (AN10)
1011
= Channel 11 (AN11)
1100
= Channel 12 (AN12)
1101
= Unimplemented
(2)
1110
= Unimplemented
(2)
1111
= Unimplemented
(2)
GO/DONE:
A/D Conversion Status bit
When ADON =
1:
1
= A/D conversion in progress
0
= A/D Idle
ADON:
A/D On bit
1
= A/D converter module is enabled
0
= A/D converter module is disabled
These channels are not implemented on 28-pin devices.
Performing a conversion on unimplemented channels will return a floating input measurement.
bit 6
bit 5-2
bit 1
bit 0
Note 1:
2:
©
2009 Microchip Technology Inc.
DS39682E-page 215