//Pascal &or the FreePascal use of nintendo 2ds, 3ds regime // // Copyright (c) 2013, 2015, 2017 Kenneth Dwayne Lee Bsc. // all rights reserved. // {/ Initializes PTMU. } function ptmuInit:s32;cdecl;external; {/ Exits PTMU. } procedure ptmuExit;cdecl;external; {* * @brief Gets the system's current shell state. * @param out Pointer to write the current shell state to. (0 = closed, 1 = open) } function PTMU_GetShellState(PtrOut:Pu8):s32;cdecl;external; {* * @brief Gets the system's current battery level. * @param out Pointer to write the current battery level to. (0-5) } function PTMU_GetBatteryLevel(PtrOut:Pu8):s32;cdecl;external; {* * @brief Gets the system's current battery charge state. * @param out Pointer to write the current battery charge state to. (0 = not charging, 1 = charging) } function PTMU_GetBatteryChargeState(PtrOut:Pu8):s32;cdecl;external; {* * @brief Gets the system's current pedometer state. * @param out Pointer to write the current pedometer state to. (0 = not counting, 1 = counting) } function PTMU_GetPedometerState(PtrOut:Pu8):s32;cdecl;external; {* * @brief Gets the pedometer's total step count. * @param steps Pointer to write the total step count to. } function PTMU_GetTotalStepCount(steps:Pu32):s32;cdecl;external;