1 /**************************************************************************/
2 /*                                                                        */
3 /*       Copyright (c) Microsoft Corporation. All rights reserved.        */
4 /*                                                                        */
5 /*       This software is licensed under the Microsoft Software License   */
6 /*       Terms for Microsoft Azure RTOS. Full text of the license can be  */
7 /*       found in the LICENSE file at https://aka.ms/AzureRTOS_EULA       */
8 /*       and in the root directory of this software.                      */
9 /*                                                                        */
10 /**************************************************************************/
11 
12 
13 /**************************************************************************/
14 /**************************************************************************/
15 /**                                                                       */
16 /** ThreadX Component                                                     */
17 /**                                                                       */
18 /**   Low Power Timer Management                                          */
19 /**                                                                       */
20 /**************************************************************************/
21 /**************************************************************************/
22 
23 
24 /**************************************************************************/
25 /*                                                                        */
26 /*  COMPONENT DEFINITION                                   RELEASE        */
27 /*                                                                        */
28 /*    tx_low_power.h                                      PORTABLE C      */
29 /*                                                           6.1.5        */
30 /*  AUTHOR                                                                */
31 /*                                                                        */
32 /*    William E. Lamie, Express Logic, Inc.                               */
33 /*                                                                        */
34 /*  DESCRIPTION                                                           */
35 /*                                                                        */
36 /*    This file defines prototypes for the low-power timer additions      */
37 /*    required for sleep mode.                                            */
38 /*                                                                        */
39 /*  RELEASE HISTORY                                                       */
40 /*                                                                        */
41 /*    DATE              NAME                      DESCRIPTION             */
42 /*                                                                        */
43 /*  03-02-2021      William E. Lamie        Initial Version 6.1.5         */
44 /*                                                                        */
45 /**************************************************************************/
46 
47 #ifndef  TX_LOW_POWER_H
48 #define  TX_LOW_POWER_H
49 
50 /* Declare 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