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

    chip_select(priv->spi_dev->cs);
    spi_write(ENC28J60_BFS_OP | (addr & ENC28J60_ADDR_MASK));
    spi_write(bf);
    chip_desel(priv->spi_dev->cs);
}
/*!
 * @brief Bit Field Set. ONLY FOR ETH CONTROL REGISTERS!!!
 * @param addr Control Register Address
 * @param bf Bit Field to set
 */
@brief Bit Field Set. ONLY FOR ETH CONTROL REGISTERS
@param addr Control Register Address
@param bf Bit Field to set
@brief Bit Field Set . ONLY FOR ETH CONTROL REGISTERS @param addr Control Register Address @param bf Bit Field to set
static void bfs(const struct enc28j60_dev *priv, uint8_t addr, uint8_t bf) {
    change_memory_bank(priv, addr);
    chip_select(priv->spi_dev->cs);
    spi_write(ENC28J60_BFS_OP | (addr & ENC28J60_ADDR_MASK));
    spi_write(bf);
    chip_desel(priv->spi_dev->cs);
}
static void bfs ( const struct enc28j60_dev * priv , uint8_t addr , uint8_t bf ) { change_memory_bank ( priv , addr ) ; chip_select ( priv -> spi_dev -> cs ) ; spi_write ( ENC28J60_BFS_OP | ( addr & ENC28J60_ADDR_MASK ) ) ; spi_write ( bf ) ; chip_desel ( priv -> spi_dev -> cs ) ; }
@brief Bit Field Set.
@brief Bit Field Set .