view src/cs/drivers/drv_app/lcc/lcc_task.h @ 236:3c790d29748e

fchg_is_running startup sync flag change: set the flag when the first ADC message has been processed, and not merely when the task is running - this way the flag indicates that meaningful info about the state of the battery is available.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 May 2021 04:25:48 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/******************************************************************************
 * Power Task (pwr)
 * Design and coding by Svend Kristian Lindholm, skl@ti.com
 *
 * Main PWR Task
 *
 * $Id: pwr_task.h 1.1 Wed, 20 Aug 2003 10:22:37 +0200 skl $
 *
 ******************************************************************************/

#ifndef __LCC_TASK_H_
#define __LCC_TASK_H_

#include "rvm/rvm_api.h"

// Main event handling function

void pwr_free(void *addr);
void *pwr_malloc(int size);

T_RVM_RETURN pwr_check_files(void);
T_RVM_RETURN pwr_task_init(void);
void pwr_task(void);

#endif