/** * @brief Updates and returns the link status. * * @param[in] macp pointer to the @p MACDriver object * @return The link status. * @retval true if the link is active. * @retval false if the link is down. * * @api */ bool macPollLinkStatus(MACDriver *macp) { osalDbgCheck(macp != NULL); osalDbgAssert(macp->state == MAC_ACTIVE, "not active"); return mac_lld_poll_link_status(macp); }
/** * @brief Updates and returns the link status. * * @param[in] macp pointer to the @p MACDriver object * @return The link status. * @retval TRUE if the link is active. * @retval FALSE if the link is down. * * @api */ bool_t macPollLinkStatus(MACDriver *macp) { chDbgCheck((macp != NULL), "macPollLinkStatus"); chDbgAssert(macp->state == MAC_ACTIVE, "macPollLinkStatus(), #1", "not active"); return mac_lld_poll_link_status(macp); }
/** * @brief Updates and returns the link status. * * @param[in] macp pointer to the @p MACDriver object * @return The link status. * @retval TRUE if the link is active. * @retval FALSE if the link is down. */ bool_t macPollLinkStatus(MACDriver *macp) { return mac_lld_poll_link_status(macp); }