STM8L051_ADC

所属分类:其他嵌入式/单片机内容
开发工具:C/C++
文件大小:286KB
下载次数:5
上传日期:2020-10-22 19:37:09
上 传 者天涯孤舟
说明:  主要用于电池供电的应用。如果芯片供电电压稳定,就不需要读取参考值电压。如果供电电压会变化,必须读取REF通道的数值作为标准参照值。因为此通道固定为1.2V,根据读此通道得到的AD值,可以按比例计算出芯片的供电电压VCC。VCC /4096 = 1.2 / AD 或者 VCC=1.2V * 4096/AD。根据VCC又可以计算出读取其他通道的AD值对应的电压值(比如说电池检测).
(It is mainly used in battery powered applications. If the supply voltage of the chip is stable, there is no need to read the reference voltage. If the supply voltage will change, the value of ref channel must be read as the standard reference value. Because this channel is fixed at 1.2V, the power supply voltage Vcc of the chip can be calculated according to the ad value obtained by reading this channel. VCC / 4096 = 1.2 / ad or VCC = 1.2V * 4096 / ad. According to VCC, the voltage corresponding to reading ad value of other channels can be calculated (such as battery detection))

文件列表:
STM8L051_ADC (0, 2020-10-22)
STM8L051_ADC\inc (0, 2020-10-22)
STM8L051_ADC\inc\define.h (2963, 2013-05-13)
STM8L051_ADC\inc\main.h (4536, 2013-06-18)
STM8L051_ADC\inc\新建文件夹 (0, 2020-10-22)
STM8L051_ADC\inc\新建文件夹\stm8l15x.h (132828, 2012-06-28)
STM8L051_ADC\inc\新建文件夹\stm8l15x_adc.h (16913, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_aes.h (5059, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_beep.h (3557, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_clk.h (19406, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_comp.h (9963, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_conf.h (3259, 2013-03-15)
STM8L051_ADC\inc\新建文件夹\stm8l15x_dac.h (10149, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_dma.h (13242, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_exti.h (9790, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_flash.h (14388, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_gpio.h (6511, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_i2c.h (35437, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_irtim.h (2267, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_it.h (3842, 2011-04-17)
STM8L051_ADC\inc\新建文件夹\stm8l15x_itc.h (13871, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_iwdg.h (4632, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_lcd.h (22646, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_pwr.h (4484, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_rst.h (3101, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_rtc.h (37772, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_spi.h (14474, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_syscfg.h (21019, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_tim1.h (37391, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_tim2.h (29141, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_tim3.h (29019, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_tim4.h (11698, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_tim5.h (28418, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_usart.h (13222, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_wfe.h (7786, 2011-05-12)
STM8L051_ADC\inc\新建文件夹\stm8l15x_wwdg.h (2749, 2011-05-12)
STM8L051_ADC\lib (0, 2020-10-22)
STM8L051_ADC\lib\stm8l15x_adc.c (40505, 2011-05-12)
STM8L051_ADC\lib\stm8l15x_aes.c (14578, 2011-05-12)
STM8L051_ADC\lib\stm8l15x_beep.c (8172, 2011-05-12)
... ...

近期下载者

相关文件


收藏者