/****************************************************************************** * * $Id: AKCommon.h 448 2011-12-15 11:19:33Z yamada.rj $ * * -- Copyright Notice -- * * Copyright (c) 2004 Asahi Kasei Microdevices Corporation, Japan * All Rights Reserved. * * This software program is proprietary program of Asahi Kasei Microdevices * Corporation("AKM") licensed to authorized Licensee under Software License * Agreement (SLA) executed between the Licensee and AKM. * * Use of the software by unauthorized third party, or use of the software * beyond the scope of the SLA is strictly prohibited. * * -- End Asahi Kasei Microdevices Copyright Notice -- * ******************************************************************************/ #ifndef AKMD_INC_AKCOMMON_H #define AKMD_INC_AKCOMMON_H #include //frpintf #include //atoi #include //memset #include #include //va_list #include //LOGV #include //errno #include "custom_log.h" /*** Constant definition ******************************************************/ #undef LOG_TAG #define LOG_TAG "AKMD2" #define DBG_LEVEL0 0 // Critical #define DBG_LEVEL1 1 // Notice #define DBG_LEVEL2 2 // Information #define DBG_LEVEL3 3 // Debug #define DBG_LEVEL4 4 // Verbose #ifndef DBG_LEVEL #define DBG_LEVEL DBG_LEVEL0 #endif #define DATA_AREA01 0x0001 #define DATA_AREA02 0x0002 #define DATA_AREA03 0x0004 #define DATA_AREA04 0x0008 #define DATA_AREA05 0x0010 #define DATA_AREA06 0x0020 #define DATA_AREA07 0x0040 #define DATA_AREA08 0x0080 #define DATA_AREA09 0x0100 #define DATA_AREA10 0x0200 #define DATA_AREA11 0x0400 #define DATA_AREA12 0x0800 #define DATA_AREA13 0x1000 #define DATA_AREA14 0x2000 #define DATA_AREA15 0x4000 #define DATA_AREA16 0x8000 /* Debug area definition */ #define AKMDATA_BDATA DATA_AREA01 /*