AD转换的例程,包含了.s文件,rcc.c,usart.c,dma.c systick.c gpio.c库函数都是最新的2008年7月11日,编译的时候出现错误,为什么呢,请指点下,谢谢
ad.c(88): error: #20: identifier "RCC_AHBPeriph_DMA" is undefined ad.c(130): error: #20: identifier "DMA_Channel1" is undefined ad.c(187): error: #136: struct "<unnamed>" has no field "USART_Clock" ad.c(188): error: #136: struct "<unnamed>" has no field "USART_CPOL" ad.c(189): error: #136: struct "<unnamed>" has no field "USART_CPHA" ad.c(190): error: #136: struct "<unnamed>" has no field "USART_LastBit"
这些在库函数中不都定义了吗
不解
在我的usart.h文件中typedef struct { u16 USART_Clock; u16 USART_CPOL; u16 USART_CPHA; u16 USART_LastBit; } USART_ClockInitTypeDef;有这个啊
为什么还编译还提示USART_Clock等没定义呢
|