Bavo Van Achte
/
MLX90418_I2C_master
Fork
Diff: i2c_mbed_fpga.h
- Revision:
- 30:b463e1f3cae3
- Parent:
- 27:9118d8c2509b
- Child:
- 31:0475756cede6
diff -r 595fd1f5e63c -r b463e1f3cae3 i2c_mbed_fpga.h --- a/i2c_mbed_fpga.h Tue Jun 08 19:05:30 2021 +0000 +++ b/i2c_mbed_fpga.h Thu Jun 10 12:45:11 2021 +0000 @@ -39,7 +39,9 @@ int i2c_word_read(char *word); int i2c_word_read_simple(char address, int* return_value); + int i2c_word_read_interpreter(int address, int* return_value); int i2c_word_write(char *word); + int i2c_word_write_simple(char address, int value); //int i2c_window_open(); //int i2c_motor_start(); @@ -48,7 +50,8 @@ int i2c_mlx_mode_entry(); int i2c_skip_app_copy(); int i2c_soft_reset(); - + bool i2c_check_busy_flag(void); + void wait_for_idle_state(void); int i2c_set_50k_pwm(unsigned int pwm50k);