|
PIC24HJ16GP304-E Datasheet, PDF (162/274 Pages) Microchip Technology – High-Performance, 16-bit Microcontrollers | |||
|
◁ |
PIC24HJ32GP202/204 AND PIC24HJ16GP304
REGISTER 18-1: AD1CON1: ADC1 CONTROL REGISTER 1 (CONTINUED)
bit 2
ASAM: ADC Sample Auto-Start bit
1 = Sampling begins immediately after last conversion. SAMP bit is auto-set
0 = Sampling begins when SAMP bit is set
bit 1
SAMP: ADC Sample Enable bit
1 = ADC sample-and-hold amplifiers are sampling
0 = ADC sample-and-hold amplifiers are holding
If ASAM = 0, software can write â1â to begin sampling. Automatically set by hardware if ASAM = 1.
If SSRC = 000, software can write â0â to end sampling and start conversion. If SSRC â 000,
automatically cleared by hardware to end sampling and start conversion.
bit 0
DONE: ADC Conversion Status bit
1 = ADC conversion cycle is completed
0 = ADC conversion not started or in progress
Automatically set by hardware when ADC conversion is complete. Software can write â0â to clear
DONE status (software not allowed to write â1â). Clearing this bit will not affect any operation in
progress. Automatically cleared by hardware at start of a new conversion.
DS70289H-page 162
© 2007-2011 Microchip Technology Inc.
|
▷ |