Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • I2C1_SDA: port and pin for the voltage sense MCP3427s, default GPIO_PORT_B and pin 11

  • I2C1_SCL: port and pin for the voltage sense MCP3427s, default GPIO_PORT_B and pin 10

  • I2C2_SDA: port and pin for the current sense MCP3427s, default GPIO_PORT_B and pin 9

  • I2C2_SCL: port and pin for the current sense MCP3427s, default GPIO_PORT_B and pin 8

  • SMOKE_SAMPLE_RATE: Number if bits of the converted values. See mcp_3427mcp3427_adc.h or the datasheet for more details.

  • SMOKE_AMP_GAIN: The factor by which the MCP3427 should amplify the input voltage before converting. See mcp_3427mcp3427_adc.h or the datasheet for more details.

  • SMOKE_CONVERSION_MODE: One-shot mode or continuous mode. See mcp_3427mcp3427_adc.h or the datasheet for more details.

  • s_test_devices: Hold the indices (or ID) which MCP3427 to be tested. For testing voltage sense MCP3427s, use indices 0 to 5. For testing current sense MCP3427, use index 6.

...