1
0
mirror of https://github.com/azure-rtos/threadx synced 2025-02-06 08:08:27 +08:00
threadx/utility/low_power/tx_low_power.h

57 lines
3.0 KiB
C
Raw Normal View History

2024-01-29 13:51:15 +08:00
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
*
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier: MIT
**************************************************************************/
2020-11-10 13:25:20 -08:00
/**************************************************************************/
/**************************************************************************/
/** */
/** ThreadX Component */
/** */
2021-03-05 05:38:33 +00:00
/** Low Power Timer Management */
2020-11-10 13:25:20 -08:00
/** */
/**************************************************************************/
/**************************************************************************/
2021-03-05 05:38:33 +00:00
2020-11-10 13:25:20 -08:00
/**************************************************************************/
/* */
2021-03-05 05:38:33 +00:00
/* COMPONENT DEFINITION RELEASE */
2020-11-10 13:25:20 -08:00
/* */
2021-03-05 05:38:33 +00:00
/* tx_low_power.h PORTABLE C */
/* 6.1.5 */
2020-11-10 13:25:20 -08:00
/* AUTHOR */
/* */
2021-03-05 05:38:33 +00:00
/* William E. Lamie, Express Logic, Inc. */
2020-11-10 13:25:20 -08:00
/* */
/* DESCRIPTION */
/* */
2021-03-05 05:38:33 +00:00
/* This file defines prototypes for the low-power timer additions */
/* required for sleep mode. */
2020-11-10 13:25:20 -08:00
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
2021-03-05 05:38:33 +00:00
/* 03-02-2021 William E. Lamie Initial Version 6.1.5 */
2020-11-10 13:25:20 -08:00
/* */
/**************************************************************************/
2021-03-05 05:38:33 +00:00
#ifndef TX_LOW_POWER_H
#define TX_LOW_POWER_H
/* Declare low-power function prototypes. */
2020-11-10 13:25:20 -08:00
2021-03-05 05:38:33 +00:00
VOID tx_low_power_enter(VOID);
VOID tx_low_power_exit(VOID);
VOID tx_time_increment(ULONG time_increment);
ULONG tx_timer_get_next(ULONG *next_timer_tick_ptr);
2020-11-10 13:25:20 -08:00
2021-03-05 05:38:33 +00:00
#endif