Mercurial > public > ostc4
view Small_CPU/Inc/uart_Internal.h @ 970:3123aa8723fd Evo_2_23
Old / new BT module communication:
The old / new BT module do have a sligthly different command set. To keep them compatible a function has been added which returns, based on the HW identification, the command string which matches to the module. In case a command is not supported the value 0 is returned and the calling function may react. E.g. with skipping of configuration steps like it is done now for the new module.
author | Ideenmodellierer |
---|---|
date | Sun, 19 Jan 2025 20:55:30 +0100 (2 months ago) |
parents | effadaa3a1f7 |
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" 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_HandleUART(); #ifdef __cplusplus } #endif #endif /* UARTINTERNAL_H */ /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/