Advertisement

在STM32F207平台上进行的第三次实验

阅读量:

目录:

1. DMA

2. Icapture

3. PWM

4. Time

1. DMA

led.h

复制代码
 #include"stm32f2xx.h"

    
 #ifndef __LED_H
    
  
    
 #define __LED_H
    
  
    
 void LED_Init(void);
    
  
    
 void Delay(vu32 nCount);
    
  
    
 void CTL_LED(u8 LED_NUM, u8 OFF_ON);
    
  
    
 	
    
 #endif
    
  
    
    
    
    

led.c

复制代码
 #include"led.h"

    
 #include"stm32f2xx.h"
    
  
    
 void LED_Init(void)
    
 {
    
 	GPIO_InitTypeDef GPIO_InitStructure;
    
 	
    

全部评论 (0)

还没有任何评论哟~