| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 222 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 222 Page - STCmicro Technology Co,.Ltd |
|
222 / 377 page ![]() 3. ADC result register: ADC_DATA and ADC_LOW2 ADC_DATA and ADC_LOW2 are used to save the ADC result, their format as shown below: Mnemonic Add Name B7 B6 B5 B4 B3 B2 B1 B0 ADC_DATA C6h ADC result register high ADC_LOW2 BEh ADC result register low xxxxxx 4. Registers related with UART1 interrupt : IE, AUXR, IP and IPH IE: Interrupt Enable Rsgister (Bit-addressable) SFR name Address bit B7 B6 B5 B4 B3 B2 B1 B0 IE A8H name EA EPCA_LVD EADC_SPI ES ET1 EX1 ET0 EX0 EA : disables all interrupts. If EA = 0,no interrupt will be acknowledged. If EA = 1, each interrupt source is individually enabled or disabled by setting or clearing its enable bit. EADC_SPI : Interrupt controller of Serial Peripheral Interface (SPI) and A/D Converter (ADC). If EADC_SPI = 0, Disable the interrupt of Serial Peripheral Interface (SPI) and A/D Converter (ADC). If EADC_SPI = 1, Enable the interrupt of Serial Peripheral Interface (SPI) and A/D Converter (ADC). In the above formula, Vin stand for analog input channel voltage, Vcc stand for actual operation voltage If user need 10-bit conversion result, calculating the result according to the following formula: If user need 8-bit conversion result, calculating the result according to the following formula: 10-bit A/D Conversion Result:(ADC_DATA[7:0], ADC_LOW2[1:0]) = 1024 x Vin Vcc 8-bit A/D Conversion Result:(ADC_DATA[7:0]) = 256 x Vin Vcc AUXR: Auxiliary register (Non bit-addressable) SFR name Address bit B7 B6 B5 B4 B3 B2 B1 B0 AUXR 8EH name T0x12 T1x12 UART_M0x6 EADCI ESPI ELVDI - - EADCI : Enable/Disable interrupt from A/D converter 0 : (default) Inhibit the ADC functional block to generate interrupt to the MCU 1 : Enable the ADC functional block to generate interrupt to the MCU 222 |
|
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 |