void led_toggle(void){


		PIN_setOutputValue(ledPinHandle, Board_LED1, !PIN_getOutputValue(Board_LED1));
		PIN_setOutputValue(ledPinHandle, Board_LED2, !PIN_getOutputValue(Board_LED2));

}
// -----------------------------------------------------------------------------
//! \brief      This routine returns the state of transmission on NPI
//!
//! \return     bool - state of NPI transmission - 1 - active, 0 - not active
// -----------------------------------------------------------------------------
bool NPITL_checkNpiBusy(void)
{
#if (NPI_FLOW_CTRL == 1)
#ifdef NPI_MASTER
    return !PIN_getOutputValue(locRdyPIN) || npiRxActive;
#else
    return !PIN_getOutputValue(locRdyPIN);
#endif //NPI_MASTER
#else
    return npiTxActive;
#endif // NPI_FLOW_CTRL = 1
}
/*********************************************************************
 * @fn      timerIsr
 *
 * @brief   Interrupt service routine for buzzer.
 *
 * @param   none
 *
 * @return  none
 */
static void timerIsr(UArg arg0)
{
  uint32_t v;
  
  v = PIN_getOutputValue(Board_BUZZER);
  PIN_setOutputValue(hGpioPin, Board_BUZZER, !v);
}
// -----------------------------------------------------------------------------
//! \brief      This routine returns the state of transmission on NPI
//!
//! \return     bool - state of NPI transmission - 1 - active, 0 - not active
// -----------------------------------------------------------------------------
bool NPITL_checkNpiBusy(void)
{
#if (NPI_FLOW_CTRL == 1)
    return !PIN_getOutputValue(SRDY_PIN);
#else
    return npiTxActive;
#endif // NPI_FLOW_CTRL = 1
}