1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Constraints</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Voltage and current regulator API"><link rel="up" href="machine.html" title="Chapter&#160;4.&#160;Machine interface"><link rel="prev" href="machine.html" title="Chapter&#160;4.&#160;Machine interface"><link rel="next" href="api.html" title="Chapter&#160;5.&#160;API reference"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Constraints</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="machine.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;4.&#160;Machine interface</th><td width="20%" align="right">&#160;<a accesskey="n" href="api.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="machine-constraint"></a>Constraints</h2></div></div></div><p>
2	 As well as defining the connections the machine interface
3	 also provides constraints defining the operations that
4	 clients are allowed to perform and the parameters that may be
5	 set.  This is required since generally regulator devices will
6	 offer more flexibility than it is safe to use on a given
7	 system, for example supporting higher supply voltages than the
8	 consumers are rated for.
9       </p><p>
10	 This is done at <a class="link" href="driver.html" title="Chapter&#160;3.&#160;Regulator driver interface">driver
11	 registration time</a> by providing a <a class="link" href="API-struct-regulation-constraints.html" title="struct regulation_constraints">struct
12	 regulation_constraints</a>.
13       </p><p>
14         The constraints may also specify an initial configuration for the
15         regulator in the constraints, which is particularly useful for
16         use with static consumers.
17       </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="machine.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="machine.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="api.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;4.&#160;Machine interface&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;5.&#160;API reference</td></tr></table></div></body></html>
18