<commit_before>/*
 * Copyright (C) 2013 Freie Universität Berlin
 *
 * This file subject to the terms and conditions of the GNU Lesser General
 * Public License. See the file LICENSE in the top level directory for more
 * details.
 */

/**
 * @defgroup    core_lpm Power Management
 * @ingroup     core
 * @brief       The kernels power management interface
 * @{
 *
 * @file        lpm.h
 * @brief       Power management interface
 *
 * This interface needs to be implemented for each platform.
 *
 * @author      Freie Universität Berlin, Computer Systems & Telematics
 */

#ifndef LPM_H_
#define LPM_H_

/**
 * @brief   Available power modes
 */
enum lpm_mode {
    LPM_ON,             ///< MCU is active
    LPM_IDLE,           ///< MCU is idle
    LPM_SLEEP,          ///< MCU in sleep mode
    LPM_POWERDOWN,      ///< MCU is powered down
    LPM_OFF             ///< MCU is off<commit_msg>Added the LPM_UNKNOWN constant to the enum 'lpm_mode' for respresenting unknown/unavailable LPM-related status.<commit_after>/*
 * Copyright (C) 2013 Freie Universität Berlin
 *
 * This file subject to the terms and conditions of the GNU Lesser General
 * Public License. See the file LICENSE in the top level directory for more
 * details.
 */

/**
 * @defgroup    core_lpm Power Management
 * @ingroup     core
 * @brief       The kernels power management interface
 * @{
 *
 * @file        lpm.h
 * @brief       Power management interface
 *
 * This interface needs to be implemented for each platform.
 *
 * @author      Freie Universität Berlin, Computer Systems & Telematics
 */

#ifndef LPM_H_
#define LPM_H_

/**
 * @brief   Available power modes
 */
enum lpm_mode {
    LPM_ON,             ///< MCU is active
    LPM_IDLE,           ///< MCU is idle
    LPM_SLEEP,          ///< MCU in sleep mode
    LPM_POWERDOWN,      ///< MCU is powered down
    LPM_OFF,            ///< MCU is off
    LPM_UNKNOWN = -1    ///< status unknown/unavailable
{'fraction_non_alphanumeric': 0.0868448098663926, 'fraction_numerical': 0.0046248715313463515, 'mean_word_length': 2.305602716468591, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4694685', 'n_tokens_mistral': 579, 'n_tokens_neox': 572, 'n_words': 215}