2 * @copyright Copyright (c) 2017-2020 TOYOTA MOTOR CORPORATION.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "power_hal.h"
19 int PsmNaviResetPower(HANDLE h_app, PsmFactorT reset_factor) {
27 int PsmClrRamJudgeFlgPower(HANDLE h_app) {
35 int PsmGetDramBackupStatusPower(HANDLE h_app, PsmSysupDramT *p_dram1, PsmSysupDramT *p_dram2, PsmSysupDramT *p_dram3) {
43 int PsmGetStartStatusPower(HANDLE h_app, PsmStartStatusT *p_start_sts) {
51 int PsmGetSyscomStatusPower(HANDLE h_app, PsmComStsT *p_com_sts) {
59 int PsmGetDramPowerSupplyAbnormalityCheckResultPower(HANDLE h_app, PsmDramStsT *p_dram_sts) {
67 int PsmGetAccCustomizeSetting(HANDLE h_app, PsmAccCustomizeT* p_acc_customize) {
71 *p_acc_customize = PSM_ACC_CUSTOMIZE_ON;
75 int PsmChgAccCustomizeSetting(HANDLE h_app, PsmAccCustomizeT acc_customize) {
83 int PsmGetStartupFactor(HANDLE h_app, PsmFactorT* p_startup_factor) {
87 *p_startup_factor = PSM_FACTOR_NONE;
91 int PowerHalSetResetInfo(enum PowerHalResetInfoId id, uint32_t val) {
95 int PowerHalGetResetInfo(enum PowerHalResetInfoId id, uint32_t *val) {