view src/cs/drivers/drv_app/pwr/pwr_messages_i.h @ 682:17b7b92e7dba

uartfax.c: fix for old Openmoko bug with Auto-CTS Openmoko made the change of enabling hardware assisted CTS flow control in the UART when RTS/CTS flow control is used - it is a change which we have retained in FreeCalypso - but they forgot to turn this hw mode off if RTS/CTS flow control is deselected at the application level. We (FreeCalypso) are now fixing the latter defect ourselves.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Jun 2020 02:53:02 +0000
parents c93a236e0d50
children
line wrap: on
line source

/*******************************************************************************
 *
 *  pwr_messages_i.h
 *
 * Purpose: Contains internal definitions used by PWR SWE. 
 * Author   Candice Bazanegue (c-brille@ti.com)
 *
 *
 * (C) Texas Instruments 2001
 *
 ******************************************************************************/

#ifndef __PWR_MESSAGES_I_H__
#define __PWR_MESSAGES_I_H__

#include "rv/rv_general.h"
#include "pwr/pwr_api.h"
#include "spi/spi_api.h"



/* Events that can be sent by the power SWE API to the SPI task */
#define PWR_SPI_INFO_BATTERY_EVT    (1)



/* Prototypes */

/* Functions used to send messages to the SPI task */
T_RV_RET pwr_spi_battery_info(CALLBACK_FUNC CallBack);

#endif /* __PWR_MESSAGES_I_H__ */