view Small_CPU/Inc/uart_Internal.h @ 975:142f3d0363b3 Evo_2_23 tip

Workaround single DiveO2 startup: If a DiveO2 sensor is used without Mux then the sensor is not recognized by the Autodetection. It seems to be a timing issue. A delay between first command send and receive function seems to fix (or hide) the problem.
author Ideenmodellierer
date Tue, 28 Jan 2025 22:31:17 +0100
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>&copy; 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****/