sak-c868p-1rr Infineon Technologies Corporation, sak-c868p-1rr Datasheet - Page 163

no-image

sak-c868p-1rr

Manufacturer Part Number
sak-c868p-1rr
Description
8 - Bit Cmos Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet
4.10.2
The ADC supports two conversion modes - single and continuous conversions. For
each mode, there are two ways in which conversion can be started - by software and by
the T13PM signal from the CCU module.
Writing a ’0’ to bit CCU-ADEX select conversion control by ADST. Writing a ’1’ to bit field
ADST starts conversion on the channel that is specified by ADCH. In single conversion
mode, bit field ADM is cleared to ’0’. This is the default mode selected after hardware
reset. When a conversion is started, the channel specified is sampled. The busy flag
ADBSY is set and ADST is cleared. When the conversion is completed, the interrupt
request is asserted and the 8-bit result is transferred to the result register ADDATH.
In continuous conversion mode, bit field ADM is set to ’1’. In this mode, the ADC
repeatedly converts the channel specified by ADCH. Bit ADST is cleared at the
beginning of the first conversion. The busy flag ADBSY is asserted until the last
conversion is completed. At the end of each conversion, the interrupt request will be
asserted. To stop conversion, ADM has to be reset by software. If the channel number
ADCH is changed while continuous conversion is in progress, the new channel specified
will be sampled in the conversions that follow.
A new request to start conversion will be allowed only after the completion of any
conversion that is in progress.
Writing a ’1’ to bit CCU_ADEX select conversion control by T13PM trigger signal from
the CCU module.
Note: Caution must be taken when changing conversion start source.
4.10.3
The ADC is disabled when the chip goes into the powerdown mode as describe in . Or
it can be individually disabled by setting ADCDIS in register PMCON1. This helps to
reduce current consumption in the normal, slow down and idle modes of operation if the
ADC is not utilized. Bit ADCST in register PMCON2 reflects the powerdown status of
ADC.
(ADCST=’1’) only after the conversion is completed.
User’s Manual
conversion source from software to hardware trigger, it is best to let remaining
software conversion to complete before changing. To change conversion source
from hardware trigger to software, it is best to change source first, let any
remaining hardware conversion to complete before beginning a software
conversion.
If the ADC is disabled during an A/D conversion, ADC will be disabled
Operation of the ADC
Module Powerdown
4-119
On-Chip Peripheral Components
V 1.0, 2003-01
To change
C868

Related parts for sak-c868p-1rr