src/ENC28J60.c
uint8_t enc28j60_read_rev_id(const struct net_dev_s *net_dev) {
    uint8_t result;
    struct enc28j60_dev *priv = net_dev->priv;

    result = rcr(priv, ENC28J60_EREVID) & 0x1F;

    return result;
}
/*!
 * @brief Get Ethernet Revision ID
 * @return 5-bit revision ID
 */
@brief Get Ethernet Revision ID
@return 5-bit revision ID
@brief Get Ethernet Revision ID @return 5 - bit revision ID
uint8_t enc28j60_read_rev_id(const struct net_dev_s *net_dev) {
    uint8_t result;
    struct enc28j60_dev *priv = net_dev->priv;
    result = rcr(priv, ENC28J60_EREVID) & 0x1F;
    return result;
}
uint8_t enc28j60_read_rev_id ( const struct net_dev_s * net_dev ) { uint8_t result ; struct enc28j60_dev * priv = net_dev -> priv ; result = rcr ( priv , ENC28J60_EREVID ) & 0x1F ; return result ; }
@brief Get Ethernet Revision ID
 @return 5-bit revision ID
@brief Get Ethernet Revision ID @return 5 - bit revision ID