share一个ADC的例子如下。这里采用的中断方式读取,需要在启动文件中把中断向量表里把中断函数加上即可。
//***************************************************************************** // // single_ended.c - Example demonstrating how to configure the ADC for // single ended operation. // // Copyright (c) 2010…
/********************************************************************** * File: Adc.c * Devices: TMS320F2833x * Author: David M. Alter, Texas Instruments Inc. * History: * 12/18/07 - original (D. Alter) *****************************************************…