test/luos_hal.c
void LuosHAL_ComInit(uint32_t Baudrate)
{
    LUOS_COM_CLOCK_ENABLE();

    // Initialise USART1

    // Enable Reception interrupt

    //Enable NVIC IRQ

    //enable DMA
#ifndef USE_TX_IT
    //if DMA possible initialize DMA for a data transmission
#endif
    //Timeout Initialization
    Timer_Prescaler = (MCUFREQ / Baudrate) / TIMERDIV;
    LuosHAL_TimeoutInit();
}
/******************************************************************************
 * @brief Luos HAL Initialize Generale communication inter node
 * @param Select a baudrate for the Com
 * @return none
 ******************************************************************************/
@brief Luos HAL Initialize Generale communication inter node
@param Select a baudrate for the Com
@return none
@brief Luos HAL Initialize Generale communication inter node @param Select a baudrate for the Com @return none
void LuosHAL_ComInit(uint32_t Baudrate)
{
    LUOS_COM_CLOCK_ENABLE();
#ifndef USE_TX_IT
#endif
    Timer_Prescaler = (MCUFREQ / Baudrate) / TIMERDIV;
    LuosHAL_TimeoutInit();
}
void LuosHAL_ComInit ( uint32_t Baudrate ) { LUOS_COM_CLOCK_ENABLE ( ) ; #ifndef USE_TX_IT #endif Timer_Prescaler = ( MCUFREQ / Baudrate ) / TIMERDIV ; LuosHAL_TimeoutInit ( ) ; }
@brief Luos HAL Initialize Generale communication inter node
 @param Select a baudrate for the Com
 @return none
@brief Luos HAL Initialize Generale communication inter node @param Select a baudrate for the Com @return none
// Initialise USART1 // Enable Reception interrupt //Enable NVIC IRQ //enable DMA //if DMA possible initialize DMA for a data transmission //Timeout Initialization