dynamic_i2c_addressing_mcu.c 472 B

1234567891011121314
  1. #include <stdint.h>
  2. #include <stdio.h>
  3. #include "ti/driverlib/dl_gpio.h"
  4. #include "ti/driverlib/dl_i2c.h"
  5. #include "ti/driverlib/m0p/dl_core.h"
  6. #include "ti_msp_dl_config.h"
  7. /*
  8. LDAC pin is set to HIGH or LOW
  9. LDAC "HIGH": until the end of the positive pulse of the 8th clock of the 2nd byte
  10. LDAC "LOW": negative pulse of the 8th clock of the 2nd byte and stays low until the rising edge of the 9th clock of the 3rd byte
  11. LDAC pin resumes normal function after STOP bit
  12. */