src/ENC28J60.c
static void wcr(const struct enc28j60_dev *priv, uint8_t addr, uint8_t data) {
    change_memory_bank(priv, addr);

    chip_select(priv->spi_dev->cs);
    spi_write(ENC28J60_WCR_OP | (addr & ENC28J60_ADDR_MASK));
    spi_write(data);
    chip_desel(priv->spi_dev->cs);
}
/*!
 * @brief Write Control Register
 * @param addr Control Register Address
 * @param data 8-bit write data
 */
@brief Write Control Register
@param addr Control Register Address
@param data 8-bit write data
@brief Write Control Register @param addr Control Register Address @param data 8 - bit write data
static void wcr(const struct enc28j60_dev *priv, uint8_t addr, uint8_t data) {
    change_memory_bank(priv, addr);
    chip_select(priv->spi_dev->cs);
    spi_write(ENC28J60_WCR_OP | (addr & ENC28J60_ADDR_MASK));
    spi_write(data);
    chip_desel(priv->spi_dev->cs);
}
static void wcr ( const struct enc28j60_dev * priv , uint8_t addr , uint8_t data ) { change_memory_bank ( priv , addr ) ; chip_select ( priv -> spi_dev -> cs ) ; spi_write ( ENC28J60_WCR_OP | ( addr & ENC28J60_ADDR_MASK ) ) ; spi_write ( data ) ; chip_desel ( priv -> spi_dev -> cs ) ; }
@brief Write Control Register
 @param addr Control Register Address
 @param data 8-bit write data
@brief Write Control Register @param addr Control Register Address @param data 8 - bit write data