//#ifndef __CANMANAGER_H_
//#define __CANMANAGER_H_

enum{
	CANNM_RELEASE=0,
	CANNM_REQUEST=1
};
enum CanNmSts{

  CANMGR_NM_STATE_UNINIT                 = 0u,   /* Uninitialized State */
  CANMGR_NM_STATE_BUS_SLEEP              = 1u,   /* Bus-Sleep State */
  CANMGR_NM_STATE_PREPARE_BUS_SLEEP      = 2u,   /* Prepare Bus-Sleep State */
  CANMGR_NM_STATE_READY_SLEEP            = 3u,   /* Ready Sleep State */
  CANMGR_NM_STATE_NORMAL_OPERATION       = 4u,   /* Normal Operation State */
  CANMGR_NM_STATE_REPEAT_MESSAGE         = 5u,   /* Repeat Message State */
  CANMGR_NM_STATE_BUS_OFF                = 9u    /* BusOff */

};

typedef enum {
  CANNM_SRC_TSP_AGENT = 0u,
  CANNM_SRC_BLE,
  CANNM_SRC_ECALL,
  CANNM_WKPU_SRC_MAX
}CanNmWkupSrc_Enum;

#define PNC_TYPE_INIT 0x00000000  //
#define PNC_TYPE_1 0x00000000  //passive wakeup
#define PNC_TYPE_2 0x10000000 //command from TSP,only wakeup BGW
#define PNC_TYPE_3 0xFFFFFFFF //command from local request,or from diag,or from can signal,wakeup all

#define CANMGR_TIMER_BASE 100
