view OtherSources/stm32f4xx_hal_msp.c @ 704:f1b40364b0af

Added protocol functions for UART DiveO2 sensor: The code has been modified to support the handling of several protocols (including baud rate changes). The data is requested by polling and passed via DMA into a ringbuffer which is then parsed by a cyclic function call in the main loop. At the moment only the O2 values are forwarded but because the sensor send several types of data within a signle message already more is extracted but yet discarded.
author Ideenmodellierer
date Fri, 28 Oct 2022 20:49:21 +0200
parents 7801c5d8a562
children
line wrap: on
line source

/**
  ******************************************************************************
  * @file    stm32f4xx_hal_msp.c 
  * @author  heinrichs weikamp gmbh
  * @date    05-Dec-2014
  * @version V0.0.1
  * @since   05-Dec-2014
  * @brief   loader for the hardware specific stm32f4xx_hal_msp.c 
  *           
  @verbatim                 
  ============================================================================== 
              ##### How to use #####
  ============================================================================== 
  @endverbatim
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; COPYRIGHT(c) 2014 heinrichs weikamp</center></h2>
  *
  ******************************************************************************
  */ 

/* Includes ------------------------------------------------------------------*/

#include "ostc.h"

#ifdef OSTC_ON_DISCOVERY_HARDWARE
 #include "stm32f4xx_hal_msp_discovery.c"
#else
 #include "stm32f4xx_hal_msp_hw1.c"
#endif

/* Exported variables --------------------------------------------------------*/  

/* Private types -------------------------------------------------------------*/

/* Private variables ---------------------------------------------------------*/

/* Private variables with external access via get_xxx() function -------------*/

/* Private function prototypes -----------------------------------------------*/

/* Exported functions --------------------------------------------------------*/

/* Private functions ---------------------------------------------------------*/

/************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/