1 /***********************************************************************************************//** 2 * \file cyabs_rtos_dsram.h 3 * 4 * \brief 5 * Internal definitions for DSRAM implementation on Freertos 6 * 7 *************************************************************************************************** 8 * \copyright 9 * Copyright 2019-2021 Cypress Semiconductor Corporation (an Infineon company) or 10 * an affiliate of Cypress Semiconductor Corporation 11 * 12 * SPDX-License-Identifier: Apache-2.0 13 * 14 * Licensed under the Apache License, Version 2.0 (the "License"); 15 * you may not use this file except in compliance with the License. 16 * You may obtain a copy of the License at 17 * 18 * http://www.apache.org/licenses/LICENSE-2.0 19 * 20 * Unless required by applicable law or agreed to in writing, software 21 * distributed under the License is distributed on an "AS IS" BASIS, 22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 23 * See the License for the specific language governing permissions and 24 * limitations under the License. 25 **************************************************************************************************/ 26 27 #pragma once 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 34 /****************************************************** 35 * Function Declarations 36 ******************************************************/ 37 /** Enters DS-RAM Low Power Mode. 38 * 39 */ 40 void cyabs_rtos_enter_dsram(void); 41 42 /** Exits DS-RAM Low Power Mode. 43 * 44 */ 45 void cyabs_rtos_exit_dsram(void); 46 47 /** Stores DS-RAM Context. 48 * 49 */ 50 void vStoreDSRAMContextWithWFI(void); 51 52 /** Restores DS-RAM Context. 53 * 54 */ 55 void vRestoreDSRAMContext(void); 56 57 #ifdef __cplusplus 58 } // extern "C" 59 #endif 60