1. 首页
  2. 考试认证
  3. Linux/Unix认证
  4. 基于430交流电压表设计

基于430交流电压表设计

上传者: 2020-09-15 00:53:10上传 PDF文件 333.02KB 热度 7次
void init_ADC(void) { P6SEL = 0X01; ADC12CTL9 &= ~(ENC); ADC12MCTL0 = INCH_0 + EOS; ADC12CTL1 = 0X00; ADC12CTL1 += CSTARTADD_0; ADC12CTL1 += SHP; ADC12CTL1 += CONSEQ_1; ADC12CTL1 += ADC12SSEL_0; ADC12CTL1 += ADC12DIV_0; ADC12CTL0 = ADC12ON + REFON + REF2_5V + SHT0_6; ADC12IE = 0; ADC12IE
用户评论