diff options
author | U-DESKTOP-LF2PDOO\niels <n.stunnebrink@student.avans.nl> | 2022-10-25 17:42:12 +0200 |
---|---|---|
committer | U-DESKTOP-LF2PDOO\niels <n.stunnebrink@student.avans.nl> | 2022-10-25 17:42:12 +0200 |
commit | 931b357fee219f7d69e3b2e1c5c275413de6010b (patch) | |
tree | 92bd46a7c43caf3b55dbc9efdc90bd00000f1106 /stm32f091/esp8266.h | |
parent | 183ed1e4c58f0c788db0b56886aad2dc258e9ddb (diff) |
initial merge of CubeIDE code for dma idle read
Diffstat (limited to 'stm32f091/esp8266.h')
-rw-r--r-- | stm32f091/esp8266.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/stm32f091/esp8266.h b/stm32f091/esp8266.h index c09a557..9df02cb 100644 --- a/stm32f091/esp8266.h +++ b/stm32f091/esp8266.h @@ -1,7 +1,17 @@ #pragma once +#include "consts.h" + #include <stdint.h> +extern char g_ws_esp8266_dma_rx_buffer[WS_DMA_RX_BUFFER_SIZE]; + +void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *, uint16_t); +/** @brief This function handles DMA1 channel 2 to 3 and DMA2 channel 1 to 2 interrupts. */ +void DMA1_Ch2_3_DMA2_Ch1_2_IRQHandler(void); +/** @brief This function handles DMA1 channel 1 interrupt. */ +void DMA1_Ch1_IRQHandler(void); + void ws_esp8266_ATsendCommand(uint8_t* data); int ws_esp8266_checkOK(uint8_t *receiveData,int length); int ws_esp8266_receivingMsg(uint8_t *receiveData,int length); |