MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ti_adc_reset

Function ti_adc_reset

freebsd/arm/ti/ti_adc.c:244–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244static void
245ti_adc_reset(struct ti_adc_softc *sc)
246{
247 int ain, i;
248
249 TI_ADC_LOCK_ASSERT(sc);
250
251 /* Disable all the inputs. */
252 for (i = 0; i < sc->sc_adc_nchannels; i++) {
253 ain = sc->sc_adc_channels[i];
254 ti_adc_inputs[ain].enable = 0;
255 }
256}
257
258static int
259ti_adc_clockdiv_proc(SYSCTL_HANDLER_ARGS)

Callers 1

ti_adc_detachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected