ER_6003_M051BN_Series_EN_Rev.1.01.pdf

所需积分/C币:10 2019-09-15 12:48:10 899KB PDF
14
收藏 收藏
举报

ER_6003_M051BN_Series_EN_Rev.1.01
NuMicro Family ER6003 Overview C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 3of19 NuMicro Family ER6003 C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 4of19 NuMicro Family ER6003 Functional Problems C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 5of19 NuMicro Family ER6003 ADC->ADCHER= OXFF / Enable all adc channe ls ADC->ADCR=9 // sing le Cycle scan mode ADC->ADCR_BITS. ADST 1 // Trigger ADC while (ADc->ADSR_BITS. ADF==0);// wait adc finishes the conversion ADC->ADSR 0x1 / Clear the adf bi t for(u32De l acount=0; u32De l acOunt<0x1000; u32De laycount++);// de ay loop ADC->ADCR BITS ADST 1; / Re-trigger ADC C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 6of19 NuMicro Family ER6003 ADC->ADCHER OXFF. / Enable all ADc channels ADC->ADCR=0×D // Continuous scan mode ADC->ADCR_BITS. ADST = 1; // Trigger ADC ADC->ADCR BITS ADST = 0; // Stop ADC when ADC converting The ADDr[o] may be the result of any adc channel u32AdcData= ADC->ADDR[O] ADC->ADCHER = OXFF / Enab le all adc channe ls ADC->ADCR OXD // Continuous scan mode ADC->ADCR BITS ADST 1 Trigger ADC whi le(ADc->ADSR_BITS. ADF==0);//wait adc finishes the conversion for (u32DataCount=0: u32DataCount<8: u32Datacount++) u 32AdcData ADC->ADDR [u 32Datacount];/ read the valid data ADC->ADCR BITS ADST =0 //Stop ADC C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 7of19 NuMicro Family ER6003 2s complement C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 8of19 NuMicro Family ER6003 2s complement C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 9of19 NuMicro Family ER6003 C2013 Nuvoton Technology Corp. ER6003 Rev.1.01-Apr.16,2013 10of19

...展开详情
试读 19P ER_6003_M051BN_Series_EN_Rev.1.01.pdf
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
  • 至尊王者

关注 私信
上传资源赚钱or赚积分
最新推荐
ER_6003_M051BN_Series_EN_Rev.1.01.pdf 10积分/C币 立即下载
1/19
ER_6003_M051BN_Series_EN_Rev.1.01.pdf第1页
ER_6003_M051BN_Series_EN_Rev.1.01.pdf第2页
ER_6003_M051BN_Series_EN_Rev.1.01.pdf第3页
ER_6003_M051BN_Series_EN_Rev.1.01.pdf第4页

试读结束, 可继续读2页

10积分/C币 立即下载