|
@@ -1,14 +1,14 @@
|
|
#include "RFDAproto.h"
|
|
#include "RFDAproto.h"
|
|
#include "usbd_cdc_if.h"
|
|
#include "usbd_cdc_if.h"
|
|
|
|
|
|
-#define RFDA_TIM TIM1 //timer
|
|
|
|
|
|
+#define RFDA_TIM TIM1 //timer [CH1] --- PA8
|
|
#define RFDA_TIM_ARR 10U
|
|
#define RFDA_TIM_ARR 10U
|
|
#define RFDA_TIM_CCR1 7U
|
|
#define RFDA_TIM_CCR1 7U
|
|
|
|
|
|
#define LE_AND_DATA_PORT GPIOA
|
|
#define LE_AND_DATA_PORT GPIOA
|
|
-#define LE_S GPIO_BSRR_BS1
|
|
|
|
|
|
+#define LE_S GPIO_BSRR_BS1 //[LE] --- PA1
|
|
#define LE_R GPIO_BSRR_BR1
|
|
#define LE_R GPIO_BSRR_BR1
|
|
-#define DATA_S GPIO_BSRR_BS2
|
|
|
|
|
|
+#define DATA_S GPIO_BSRR_BS2 //[DATA] --- PA2
|
|
#define DATA_R GPIO_BSRR_BR2
|
|
#define DATA_R GPIO_BSRR_BR2
|
|
#define DMA_CH DMA1_Channel5
|
|
#define DMA_CH DMA1_Channel5
|
|
#define BUF_LEN 7U
|
|
#define BUF_LEN 7U
|