Lines Matching refs:signals
110 signals: Dict[str, str],
115 self.signals = signals
431 line = current_device.callback(config, current_device.signals, line)
457 config: DeviceConfiguration, signals: Dict[str, str], line: str
475 config.set_signal_pin(signals[f"io{i}"], int(pin))
480 config.set_signal_pin(signals[m.group(1)], int(m.group(2)))
491 def process_uart(config: DeviceConfiguration, signals, line: str) -> Optional[str]: argument
495 if not match_and_store_pin(config, signals, line):
501 config.add_signal_config(signals[m.group(1)], PIN_CONFIG.PULL_UP)
507 def process_spi(config: DeviceConfiguration, signals, line: str) -> Optional[str]: argument
511 if not match_and_store_pin(config, signals, line):
517 config.add_signal_config(signals["miso"], PIN_CONFIG.PULL_UP)
523 config.add_signal_config(signals["miso"], PIN_CONFIG.PULL_DOWN)
529 def process_pwm(config: DeviceConfiguration, signals, line: str) -> Optional[str]: argument
533 if not match_and_store_pin(config, signals, line):
539 config.add_signal_config(signals[m.group(1)], PIN_CONFIG.NORDIC_INVERT)