firmware/Temperature/src/MCU/led.c
/////////////////////////////////////////////////////////////////////////
/// \brief  Toggle the LED state
/////////////////////////////////////////////////////////////////////////
\brief  Toggle the LED state
\ brief Toggle the LED state
void Led_Toggle(void)
{
    if(GPIOA->ODR & (1<<LED_PIN))
    {
        Led_Off();
    }
    else
    {
        Led_On();
    }
}
void Led_Toggle ( void ) { if ( GPIOA -> ODR & ( 1 << LED_PIN ) ) { Led_Off ( ) ; } else { Led_On ( ) ; } }
\brief  Toggle the LED state
\ brief Toggle the LED state
// read the IO state. if set the turn the led off else turn it on