![]() |
Choco OS
V.0.16.9.0
Join to the chocolate world
|
The file with interface for the module library. More...
Go to the source code of this file.
Data Structures | |
struct | oC_Module_Registration_t |
Functions | |
static bool | oC_Module_IsTurnedOn (oC_Module_t Module) |
checks if the module is turned on More... | |
static bool | oC_Module_TurnOnVerification (oC_ErrorCode_t *outErrorCode, oC_Module_t Module) |
verify if module is turned on More... | |
static bool | oC_Module_TurnOffVerification (oC_ErrorCode_t *outErrorCode, oC_Module_t Module) |
verify if module is turned off More... | |
static void | oC_Module_TurnOn (oC_Module_t Module) |
sets module as turned on More... | |
static void | oC_Module_TurnOff (oC_Module_t Module) |
sets module as turned off More... | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_module.h.
|
inlinestatic |
The function checks if the module is turned on
Module | Module to check |
Definition at line 121 of file oc_module.h.
|
inlinestatic |
The function turns off the module without checking if it is already enabled
Module | index of the module to turn off |
Definition at line 185 of file oc_module.h.
|
inlinestatic |
The function for verification if module is not turned on
outErrorCode | Reference to the error code variable |
Module | Index of the module |
Definition at line 155 of file oc_module.h.
|
inlinestatic |
The function turns on the module without checking if it is already enabled
Module | index of the module to turn on |
Definition at line 170 of file oc_module.h.
|
inlinestatic |
The function for turn-off function for verification if module is not turned off already
outErrorCode | Reference to the error code variable |
Module | Index of the module |
Definition at line 138 of file oc_module.h.