MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / regulator_get_enable_time

Function regulator_get_enable_time

components/drivers/regulator/regulator.c:172–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172static rt_uint32_t regulator_get_enable_time(struct rt_regulator_node *reg_np)
173{
174 if (reg_np->param->enable_delay)
175 {
176 return reg_np->param->enable_delay;
177 }
178
179 if (reg_np->ops->enable_time)
180 {
181 return reg_np->ops->enable_time(reg_np);
182 }
183
184 return 0;
185}
186
187static void regulator_delay(rt_uint32_t delay)
188{

Callers 1

regulator_enableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected