Help for this page

Select Code to Download


  1. or download this
    i2c_master_defines.v
    // bitcontroller states
    ...
    `define I2C_CMD_STOP  4'b0010
    `define I2C_CMD_WRITE 4'b0100
    `define I2C_CMD_READ  4'b1000
    
  2. or download this
    timescale.v
    `timescale 1ns / 10ps