如下是我ADC分组采样代码,请教下如何做到1/2/4/8hz
SD24CTL = SD24REFS; // Internal ref
SD24CCTL0 |= SD24GRP | SD24DF |SD24OSR_256|SD24OSR1; // Group with CH1
SD24INCTL0 |= SD24INCH_6;
SD24CCTL1 |= SD24GRP | SD24DF |SD24OSR_256|SD24OSR1; // Group with CH2
SD24CCTL2 |= SD24IE | SD24DF |SD24IFG |SD24OSR_256|SD24OSR1; // Enable interrupt
Viki Shi:
你好,这边是无线论坛,MSP430的问题建议发布到:
e2echina.ti.com/…/55