Image
Image

chenqiang10

+ 关注

粉丝 1     |     主题 39     |     回帖 940

GD32F207 相关驱动
2018-11-30 22:02
  • GigaDevice GD32 MCU
  • 25
  • 2042
  void GPIO_Config(void) { GPIO_InitPara GPIO_InitStructure; /* GPIO clock enable */ RCC ...  
  void Init_RxMes(CanRxMessage *RxMessage) { uint8_t i = 0; RxMessage->StdId = 0x00; RxMe ...  
  void NVIC_Config(void) { NVIC_InitPara NVIC_InitStructure; NVIC_PRIGroup_Enable(NVIC_PRIGRO ...  
  void CAN_Config(void) { /* CAN register init */ CAN_DeInit(CANX); CAN_StructInit(&CAN_ ...  
  Configure system clocks. void RCC_Configuration(void) { /* ADCCLK = PCLK2/6 */ RCC_ADCCLKCon ...  
  Configure ADC Configuration. void ADC_Configuration(void) { /* Config ADC1 --------------------- ...  
  ADC void GPIO_Configuration(void) { GPIO_InitPara GPIO_InitStructure; GPIO_InitStructure.GP ...  
  void EvbUart1EnableRxInt(void) { /* Enable the USART1 Receive interrupt */ USART_INT_Set( US ...  
  static char _buffer[256]; void EvbUart1Printf(char* fmt, ...) { int i; va_list ap; va_st ...  
  从串口1接收一个字符 void EvbUart1ReadByte(char* c) { while (USART_GetBitState(USART1, USART_FLA ...  
  向串口1发送一个字符串 void EvbUart1WriteStr(const char* str) { while (*str) { USAR ...  
  void EvbUart1WriteByte2(char c) { USART_DataSend(USART1, c); }  
  向串口1发送一个字符 void EvbUart1WriteByte(char c) { USART_DataSend(USART1, c); while (USART ...  
  串口初始化 oid EvbUart1Config(void) { /* Configure the GPIO ports */ GPIO_InitPara GPIO_In ...  
  // 中配配置 static void NVIC_Configuration(void) { NVIC_InitPara NVIC_InitStructure; /* Ena ...  
  蜂鸣器的开关操作 void EVB_BuzzerControl(int value) { if (value) { GPIO_SetBits(GPIOD ...  
  蜂鸣器初始化 void EVB_BuzzerConfig(void) { GPIO_InitPara GPIO_InitStructure; /* 使能GPI ...  
  事件触发LED翻转 void EvbLedToggle(int index) { BitState value; switch (index) { ...  
  控制Led的点亮和熄灭 void EvbLedControl(int index, int cmd) { switch (index) { case L ...  
【HAL库】STM32F0 ADC模拟量单通道输入实验-单次触发方式
2018-12-4 10:34
  • ST MCU
  • 8
  • 2353
  买板子生意也不好做啊  
2
3
近期访客