generated from Template/H563ZI-HAL-CMake-Template
加入Buzzer,Shake_Motor,Ultrasound
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#define RING_BUFFER_SIZE 256
|
||||
#define UART_DMA_RX_BUF_SIZE 64
|
||||
|
||||
#define task 1
|
||||
// HCBle <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݶ<EFBFBD><DDB6><EFBFBD>
|
||||
typedef struct
|
||||
{
|
||||
@@ -34,6 +35,7 @@ typedef struct
|
||||
extern uint8_t rx_data;
|
||||
extern RingBuffer ble_rx_ring; //<2F><>ʼ<EFBFBD><CABC>
|
||||
extern uint8_t uart_dma_rx_buf[UART_DMA_RX_BUF_SIZE];
|
||||
extern LocationData current_location;
|
||||
|
||||
void HCBle_InitDMAReception(void);
|
||||
void HCBle_ExtractAndParseFrame(void);
|
||||
|
||||
Reference in New Issue
Block a user