You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 satır
278B

  1. #ifndef _USART2_H
  2. #define _USART2_H
  3. #include "stm32f10x.h"
  4. void USART2_Init(u32 bound);
  5. void SendUSART2Str(char *d);
  6. void SendUSART1Data(u8 *d, u16 len);
  7. void SendUSART2Data(u8 *d, u16 len);
  8. #define USART2_EN 1
  9. #define EN_USART2_RX 1
  10. #define USART2_REC_LEN 64
  11. #endif