Updates spi_task to take a structure with ports
Updates get and set control value to remove unneeded control_type