Choco OS  V.0.16.9.0
Join to the chocolate world
oc_boot.h File Reference

The file with interface for bootloader. More...

#include <oc_user.h>
#include <oc_time.h>

Go to the source code of this file.

Functions

void oC_Boot_Main (void)
 main function of the system More...
 
oC_Boot_Level_t oC_Boot_GetCurrentBootLevel (void)
 returns current boot level More...
 
oC_Timestamp_t oC_Boot_GetStartupTimestamp (void)
 returns timestamp of startup
 
void oC_Boot_Restart (oC_Boot_Reason_t Reason, oC_User_t User)
 restarts the system More...
 
void oC_Boot_Shutdown (oC_Boot_Reason_t Reason, oC_User_t User)
 shutting down the system More...
 
oC_Boot_Reason_t oC_Boot_GetLastShutdownReason (void)
 returns reason of shutting down More...
 
oC_User_t oC_Boot_GetLastShutdownUser (void)
 returns id of user that shutdown the system last time More...
 

Detailed Description


Author
Patryk Kubiak - (Created on: 18 05 2015 20:12:54)
Note
Copyright (C) 2015 Patryk Kubiak patry.nosp@m.k.ku.nosp@m.biak9.nosp@m.0@gm.nosp@m.ail.c.nosp@m.om
           This program is free software; you can redistribute it and/or modify
           it under the terms of the GNU General Public License as published by
           the Free Software Foundation; either version 2 of the License, or
           (at your option) any later version.

           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_boot.h.