Mercurial > public > ostc4
view Small_CPU/Inc/uart_Internal.h @ 929:63c340abd70e Evo_2_23 tip
Add a line to the compass heading dive menu that shows the currently set heading to enable the
diver to confirm it / add it to notes.
Also add a log entry every time a new compass heading is set or the heading is cleared.
And add a way to add compass headings to the log without changing the currently set heading -
this was added after discussion with cave divers who are interested in recording headings
when mapping out caves.
From mikeller
author | heinrichsweikamp |
---|---|
date | Mon, 02 Dec 2024 11:16:10 +0100 |
parents | 7c996354b8ac |
children |
line wrap: on
line source
/** ****************************************************************************** * @file uartInternal.h * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 03-November-2024 * @brief button control * ****************************************************************************** * @attention * * <h2><center>© COPYRIGHT(c) 2015 heinrichs weikamp</center></h2> * ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef UARTINTERNAL_H #define UARTINTERNAL_H #ifdef __cplusplus extern "C" { #endif #include "stm32f4xx_hal.h" #define BUFFER_NODATA_LOW (0x15) /* The read function needs a signiture which indicates that no data for processing is available.*/ #define BUFFER_NODATA_HIGH (0xA5) UART_HandleTypeDef huart6; void MX_USART6_UART_Init(void); void MX_USART6_DMA_Init(void); void MX_USART6_UART_DeInit(void); void GNSS_IO_init(void); void UART6_StartDMA_Receiption(void); void UART_clearRx6Buffer(void); void UART6_SendCmdUbx(const uint8_t *cmd, uint8_t len); void UART6_ReadData(void); void UART6_WriteData(void); void UART6_Gnss_ProcessData(uint8_t data); #ifdef __cplusplus } #endif #endif /* UARTINTERNAL_H */ /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/