1 /*************************************************************************** 2 * Copyright (c) 2024 Microsoft Corporation 3 * 4 * This program and the accompanying materials are made available under the 5 * terms of the MIT License which is available at 6 * https://opensource.org/licenses/MIT. 7 * 8 * SPDX-License-Identifier: MIT 9 **************************************************************************/ 10 11 12 /**************************************************************************/ 13 /**************************************************************************/ 14 /** */ 15 /** ThreadX Component */ 16 /** */ 17 /** Timer Management */ 18 /** */ 19 /**************************************************************************/ 20 /**************************************************************************/ 21 22 23 /**************************************************************************/ 24 /* */ 25 /* COMPONENT DEFINITION RELEASE */ 26 /* */ 27 /* tx_low_power.h PORTABLE C */ 28 /* 6.0 */ 29 /* AUTHOR */ 30 /* */ 31 /* William E. Lamie, Microsoft Corporation */ 32 /* */ 33 /* DESCRIPTION */ 34 /* */ 35 /* This file defines prototypes for the low-power timer additions */ 36 /* required for sleep mode. */ 37 /* */ 38 /* RELEASE HISTORY */ 39 /* */ 40 /* DATE NAME DESCRIPTION */ 41 /* */ 42 /* 05-19-2020 William E. Lamie Initial Version 6.0 */ 43 /* */ 44 /**************************************************************************/ 45 46 #ifndef TX_LOW_POWER_H 47 #define TX_LOW_POWER_H 48 49 50 /* Define low-power function prototypes. */ 51 52 VOID tx_low_power_enter(VOID); 53 VOID tx_low_power_exit(VOID); 54 VOID tx_time_increment(ULONG time_increment); 55 ULONG tx_timer_get_next(ULONG *next_timer_tick_ptr); 56 57 #endif 58