/* Initialize the hardware interface to the controller. 
This will initialize the module used for communication with the controller. Currently supported interface by this driver is the TWI module in master mode. */
static uint32_t mcp980x_interface_init(void)
/* Initialize the hardware interface to the controller. 
This will initialize the module used for communication with the controller. Currently supported interface by this driver is the TWI module in master mode. */
static uint32_t mcp980x_interface_init(void)
{
	twi_master_options_t opt = {
		.speed = TWI_SPEED,
		.chip = BOARD_MCP980X_ADDR
	};
	return twi_master_setup(BOARD_MCP980X_TWI_INSTANCE, &opt);
}