Lines Matching refs:enum_set
106 def enum_set(self, field: str, value: str) -> None: member in Register
154 power_config.enum_set("VDDAO5V0", "Shorted")
155 power_config.enum_set("VDDAO1V8", "External")
156 power_config.enum_set("VDD1V0", "Internal")
157 power_config.enum_set("VDDRF1V0", "Shorted")
158 power_config.enum_set("VDDAO0V8", "Internal")
159 power_config.enum_set("VDDVS0V8", "Internal")
160 power_config.enum_set("INDUCTOR", "Present")
162 power_config.enum_set("VDDAO5V0", "External")
163 power_config.enum_set("VDDAO1V8", "Internal")
164 power_config.enum_set("VDD1V0", "Internal")
165 power_config.enum_set("VDDRF1V0", "Shorted")
166 power_config.enum_set("VDDAO0V8", "Internal")
167 power_config.enum_set("VDDVS0V8", "Internal")
168 power_config.enum_set("INDUCTOR", "Present")
170 power_config.enum_set("VDDAO5V0", "Unconfigured")
171 power_config.enum_set("VDDAO1V8", "Unconfigured")
172 power_config.enum_set("VDD1V0", "Unconfigured")
173 power_config.enum_set("VDDRF1V0", "Unconfigured")
174 power_config.enum_set("VDDAO0V8", "Unconfigured")
175 power_config.enum_set("VDDVS0V8", "Unconfigured")
176 power_config.enum_set("INDUCTOR", "Unconfigured")
234 ioport_power0.enum_set("P1", self.p1_supply.value)
235 ioport_power0.enum_set("P2", self.p2_supply.value)
236 ioport_power0.enum_set("P6", self.p6_supply.value)
237 ioport_power0.enum_set("P7", self.p7_supply.value)
238 ioport_power1.enum_set("P9", self.p9_supply.value)
278 drivectl0.enum_set("P6", f"Ohms{self.p6_impedance_ohms}")
279 drivectl0.enum_set("P7", f"Ohms{self.p7_impedance_ohms}")
355 lfosc_lfxoconfig.enum_set("ACCURACY", f"{self.accuracy_ppm}ppm")
356 lfosc_lfxoconfig.enum_set("MODE", self.mode.value)
362 lfosc_lfxoconfig.enum_set("LOADCAP", "External")
430 lfosc_lfrcautocalconfig.enum_set(
511 lfosc_lfxoconfig.enum_set("MODE", "Disabled")
594 hfxo_config.enum_set("MODE", self.mode.value)
600 hfxo_config.enum_set("LOADCAP", "External")