comparison chipsetsw/drivers/drv_app/lcc/lcc_handle_message.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /******************************************************************************
2 * Power Task (pwr)
3 * Design and coding by Svend Kristian Lindholm, skl@ti.com
4 *
5 * PWR Message Processing
6 *
7 * $Id: pwr_handle_message.h 1.1 Wed, 20 Aug 2003 10:22:37 +0200 skl $
8 *
9 ******************************************************************************/
10 #ifndef __LCC_HANDLE_MESSAGE_H_
11 #define __LCC_HANDLE_MESSAGE_H_
12
13 #include "lcc/lcc.h"
14
15 /******************************************************************************
16 * Function prototypes
17 ******************************************************************************/
18
19 T_RVM_RETURN pwr_task_init(void);
20 T_RV_RET process_pwr_tm_read_request (T_PWR_REQ *request);
21 T_RV_RET process_pwr_tm_write_request (T_PWR_REQ *request);
22 T_RV_RET process_spi_adc_indication (T_PWR_REQ *request);
23 void pwr_send_msg(uint32 msg_id ,T_RVF_ADDR_ID src_addr_id, T_RVF_ADDR_ID dest_addr_id);
24 void pwr_modulate_on(void);
25 void pwr_modulate_off(void);
26 void start_q401_charge(void);
27 void stop_q401_charge(void);
28
29 void build_name(const char *ch_pre, char *cfg_id , UINT8 index, const char * ch_post, char * name);
30 void cv_charging_house_keeping(void);
31 void end_charging_house_keeping(void);
32
33 #endif