Searched refs:gpio_read (Results 1 – 1 of 1) sorted by relevance
21 def gpio_read(self, name): member in hardware_GPIOSwitches32 keyvals['level_recovery'] = self.gpio_read('recovery_button')33 keyvals['level_developer'] = self.gpio_read('developer_switch')34 keyvals['level_firmware_writeprotect'] = self.gpio_read('write_protect')