PIC18F4680-H/ML Microchip Technology, PIC18F4680-H/ML Datasheet - Page 249

no-image

PIC18F4680-H/ML

Manufacturer Part Number
PIC18F4680-H/ML
Description
IC MCU 8BIT 64KB FLASH 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet

Specifications of PIC18F4680-H/ML

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
44-VQFN Exposed Pad
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
19.0
The Analog-to-Digital (A/D) converter module has
8 inputs for the PIC18F2X8X devices and 11 for the
PIC18F4X8X devices. This module allows conversion
of an analog input signal to a corresponding 10-bit
digital number.
REGISTER 19-1:
© 2007 Microchip Technology Inc.
10-BIT ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
bit 7-6
bit 5-2
bit 1
bit 0
ADCON0: A/D CONTROL REGISTER 0
Unimplemented: Read as ‘0’
CHS3:CHS0: 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)
0110 = Channel 6 (AN6)
0111 = Channel 7 (AN7)
1000 = Channel 8 (AN8)
1001 = Channel 9 (AN9)
1010 = Channel 10 (AN10)
1011 = Unused
1100 = Unused
1101 = Unused
1110 = Unused
1111 = Unused
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
Legend:
R = Readable bit
-n = Value at POR
bit 7
Note 1: These channels are not implemented on PIC18F2X8X devices.
U-0
2: Performing a conversion on unimplemented channels will return full-scale
measurements.
U-0
PIC18F2585/2680/4585/4680
(1,2)
(1,2)
(1,2)
R/W-0
CHS3
Preliminary
W = Writable bit
‘1’ = Bit is set
R/W-0
CHS2
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)
The ADCON0 register, shown in Register 19-1, controls
the operation of the A/D module. The ADCON1 register,
shown in Register 19-2, configures the functions of the
port
Register 19-3, configures the A/D clock source,
programmed acquisition time and justification.
pins.
R/W-0
CHS1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
The
ADCON2
R/W-0
CHS0
GO/DONE
x = Bit is unknown
register,
R/W-0
DS39625C-page 247
shown
ADON
R/W-0
bit 0
in

Related parts for PIC18F4680-H/ML