| Electronic Components Datasheet Search |
|
PIC16F15213T-I/ST Datasheet(PDF) 322 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213T-I/ST Datasheet(HTML) 322 Page - Microchip Technology |
|
322 / 439 page ![]() • If ADIE = 1, PEIE = 1, and GIE = 0: An interrupt will wake the device from Sleep. Upon waking from Sleep, the instructions following the SLEEP instruction are executed. The Interrupt Service Routine is not executed. • If ADIE = 1, PEIE = 1, and GIE = 1: An interrupt will wake the device from Sleep. Upon waking from Sleep, the instruction following the SLEEP instruction is always executed. Then the execution will switch to the Interrupt Service Routine. 27.1.6 ADC Result Formatting The 10-bit ADC conversion result can be supplied in two formats: left-justified or right-justified. The ADC Result Format/Alignment Selection (FM) bit controls the output format as shown in Figure 27-3. Figure 27-3. 10-Bit ADC Conversion Result Format Filename: 10-Bit ADC Conversion Result Format.vsdx Title: Last Edit: 11/19/2019 First Used: Notes: MSb MSb LSb LSb (FM = 0) (FM = 1) bit 7 bit 7 bit 7 bit 7 bit 0 bit 0 bit 0 bit 0 10-bit ADC Result 10-bit ADC Result Unimplemented: Read as 0 Unimplemented: Read as 0 ADRESH ADRESL Important: Writes to the ADRES register pair are always right-justified, regardless of the selected format mode. Therefore, data read after writing to ADRES when FM = 0 will be shifted left four places. 27.2 ADC Operation 27.2.1 Starting a Conversion To enable the ADC module, the ON bit must be set to ‘1’. A conversion may be started by either of the following: • Software setting the GO bit to ‘1’ • An external trigger (source selected by the ADC Auto-Conversion Trigger (ADACT) register) Important: The GO bit must not be set in the same instruction that turns on the ADC. Refer to 27.2.5. ADC Conversion Procedure for more details. 27.2.2 Completion of a Conversion When the conversion is complete, the ADC module will: • Clear the GO bit PIC16F15213/14/23/24/43/44 ADC - Analog-to-Digital Converter © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 322 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |