Searched refs:pin_info (Results 1 – 1 of 1) sorted by relevance
46 mraa_pininfo_t* pin_info = &board->pins[mraa_index]; in mraa_set_pininfo() local47 strncpy(pin_info->name, name, MAX_LENGTH); in mraa_set_pininfo()48 pin_info->capabilites = caps; in mraa_set_pininfo()50 pin_info->gpio.pinmap = sysfs_pin | arch_nr_gpios_adjust; in mraa_set_pininfo()51 pin_info->gpio.mux_total = 0; in mraa_set_pininfo()54 pin_info->i2c.pinmap = 1; in mraa_set_pininfo()55 pin_info->i2c.mux_total = 0; in mraa_set_pininfo()61 pin_info->pwm.parent_id = controller; in mraa_set_pininfo()62 pin_info->pwm.pinmap = 0; in mraa_set_pininfo()63 pin_info->pwm.mux_total = 0; in mraa_set_pininfo()[all …]