Exemple #1
0
/**
 * \brief Check if the At45 driver is in busy.
 *
 * \param pAt45  Pointer to the At45 instance to initialize.
 * \return 1 if the At45 driver is not executing any command,otherwise it returns 0.
 */
extern uint32_t AT45_IsBusy( At45* pAt45 )
{
    if (pAt45->pollingMode)
    {
        SPID_Handler(pAt45->pSpid);
        SPID_DmaHandler(pAt45->pSpid);
    }
    return SPID_IsBusy( pAt45->pSpid ) ;
}
Exemple #2
0
/**
 * \brief Check if the At45 driver is in busy.
 *
 * \param pAt45  Pointer to the At45 instance to initialize.
 * \return 1 if the At45 driver is not executing any command,otherwise it returns 0.
 */
extern uint32_t AT45_IsBusy( At45* pAt45 )
{
    return SPID_IsBusy( pAt45->pSpid ) ;
}
Exemple #3
0
//------------------------------------------------------------------------------
/// This function returns 1 if the At45 driver is not executing any command;
/// otherwise it returns 0.
/// \param pAt45  Pointer to an At45 instance.
//------------------------------------------------------------------------------
unsigned char AT45_IsBusy(At45 *pAt45)
{
    return SPID_IsBusy(pAt45->pSpid);
}
/**
 * \brief Check if the At45 driver is in busy.
 *
 * \param pAt45  Pointer to the At45 instance to initialize.
 * \return 1 if the At45 driver is not executing any command,otherwise it returns 0.
 */
uint8_t AT45_IsBusy(At45 *pAt45)
{
    return SPID_IsBusy(pAt45->pSpid);
}