aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/esp8266.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-28 11:29:09 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-28 11:29:09 +0200
commitf37af779bb836faa7571b7d47036f36f71319aca (patch)
tree17f86baa284dd9a67770e052cc6d3383afd27159 /stm32f091/esp8266.h
parent1cac46e7701ef2783aea13d55261582f4d91f2fa (diff)
use circular dma buffer for rx
Diffstat (limited to 'stm32f091/esp8266.h')
-rw-r--r--stm32f091/esp8266.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/stm32f091/esp8266.h b/stm32f091/esp8266.h
index 66ccfba..94a7356 100644
--- a/stm32f091/esp8266.h
+++ b/stm32f091/esp8266.h
@@ -19,14 +19,11 @@ void DMA1_Ch1_IRQHandler(void);
/** @brief USART1 interrupt handler */
void USART1_IRQHandler(void);
-/** @brief receive chunk complete */
-void HAL_UART_RxCpltCallback(UART_HandleTypeDef* huart);
-
/** @brief send data to esp over uart with dma */
void ws_esp8266_send(uint8_t* data, size_t size);
-/** @brief start dma receive and reset half-transfer interrupt flag */
-void ws_esp8266_start_receive();
+/** @brief line idle, handle new data on dma buffer */
+void ws_esp8266_incoming_data_chunk();
/** @brief connect to access point using wifi.h credentials */
void ws_esp8266_connect();