パラメータを適応変化させる事により圧縮率を向上させた動的ライス・ゴロム符号を利用した可逆圧縮方式。圧縮ソフト、圧縮率のMATLABシミュレーションは詳細はInterface誌2011年8月号に掲載されるRX62Nマイコン連動特集にて掲載予定。

Dependencies:   mbed

Committer:
lynxeyed_atsu
Date:
Wed Mar 30 06:05:24 2011 +0000
Revision:
0:d920d64db582
alpha

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lynxeyed_atsu 0:d920d64db582 1 /***********************************************************************//**
lynxeyed_atsu 0:d920d64db582 2 * @file lpc17xx_libcfg_default.h
lynxeyed_atsu 0:d920d64db582 3 * @brief Default Library configuration header file
lynxeyed_atsu 0:d920d64db582 4 * @version 2.0
lynxeyed_atsu 0:d920d64db582 5 * @date 21. May. 2010
lynxeyed_atsu 0:d920d64db582 6 * @author NXP MCU SW Application Team
lynxeyed_atsu 0:d920d64db582 7 **************************************************************************
lynxeyed_atsu 0:d920d64db582 8 * Software that is described herein is for illustrative purposes only
lynxeyed_atsu 0:d920d64db582 9 * which provides customers with programming information regarding the
lynxeyed_atsu 0:d920d64db582 10 * products. This software is supplied "AS IS" without any warranties.
lynxeyed_atsu 0:d920d64db582 11 * NXP Semiconductors assumes no responsibility or liability for the
lynxeyed_atsu 0:d920d64db582 12 * use of the software, conveys no license or title under any patent,
lynxeyed_atsu 0:d920d64db582 13 * copyright, or mask work right to the product. NXP Semiconductors
lynxeyed_atsu 0:d920d64db582 14 * reserves the right to make changes in the software without
lynxeyed_atsu 0:d920d64db582 15 * notification. NXP Semiconductors also make no representation or
lynxeyed_atsu 0:d920d64db582 16 * warranty that such application will be suitable for the specified
lynxeyed_atsu 0:d920d64db582 17 * use without further testing or modification.
lynxeyed_atsu 0:d920d64db582 18 **************************************************************************/
lynxeyed_atsu 0:d920d64db582 19
lynxeyed_atsu 0:d920d64db582 20 /* Library Configuration group ----------------------------------------------------------- */
lynxeyed_atsu 0:d920d64db582 21 /** @defgroup LIBCFG_DEFAULT LIBCFG_DEFAULT
lynxeyed_atsu 0:d920d64db582 22 * @ingroup LPC1700CMSIS_FwLib_Drivers
lynxeyed_atsu 0:d920d64db582 23 * @{
lynxeyed_atsu 0:d920d64db582 24 */
lynxeyed_atsu 0:d920d64db582 25
lynxeyed_atsu 0:d920d64db582 26 #ifndef LPC17XX_LIBCFG_DEFAULT_H_
lynxeyed_atsu 0:d920d64db582 27 #define LPC17XX_LIBCFG_DEFAULT_H_
lynxeyed_atsu 0:d920d64db582 28
lynxeyed_atsu 0:d920d64db582 29 /* Includes ------------------------------------------------------------------- */
lynxeyed_atsu 0:d920d64db582 30 #include "lpc_types.h"
lynxeyed_atsu 0:d920d64db582 31
lynxeyed_atsu 0:d920d64db582 32
lynxeyed_atsu 0:d920d64db582 33 /* Public Macros -------------------------------------------------------------- */
lynxeyed_atsu 0:d920d64db582 34 /** @defgroup LIBCFG_DEFAULT_Public_Macros LIBCFG_DEFAULT Public Macros
lynxeyed_atsu 0:d920d64db582 35 * @{
lynxeyed_atsu 0:d920d64db582 36 */
lynxeyed_atsu 0:d920d64db582 37
lynxeyed_atsu 0:d920d64db582 38 /************************** DEBUG MODE DEFINITIONS *********************************/
lynxeyed_atsu 0:d920d64db582 39 /* Un-comment the line below to compile the library in DEBUG mode, this will expanse
lynxeyed_atsu 0:d920d64db582 40 the "CHECK_PARAM" macro in the FW library code */
lynxeyed_atsu 0:d920d64db582 41
lynxeyed_atsu 0:d920d64db582 42 #define DEBUG
lynxeyed_atsu 0:d920d64db582 43
lynxeyed_atsu 0:d920d64db582 44
lynxeyed_atsu 0:d920d64db582 45 /******************* PERIPHERAL FW LIBRARY CONFIGURATION DEFINITIONS ***********************/
lynxeyed_atsu 0:d920d64db582 46 /* Comment the line below to disable the specific peripheral inclusion */
lynxeyed_atsu 0:d920d64db582 47
lynxeyed_atsu 0:d920d64db582 48 /* DEBUG_FRAMWORK ------------------------------ */
lynxeyed_atsu 0:d920d64db582 49 #define _DBGFWK
lynxeyed_atsu 0:d920d64db582 50
lynxeyed_atsu 0:d920d64db582 51 /* GPIO ------------------------------- */
lynxeyed_atsu 0:d920d64db582 52 #define _GPIO
lynxeyed_atsu 0:d920d64db582 53
lynxeyed_atsu 0:d920d64db582 54 /* EXTI ------------------------------- */
lynxeyed_atsu 0:d920d64db582 55 #define _EXTI
lynxeyed_atsu 0:d920d64db582 56
lynxeyed_atsu 0:d920d64db582 57 /* UART ------------------------------- */
lynxeyed_atsu 0:d920d64db582 58 #define _UART
lynxeyed_atsu 0:d920d64db582 59 #define _UART0
lynxeyed_atsu 0:d920d64db582 60 #define _UART1
lynxeyed_atsu 0:d920d64db582 61 #define _UART2
lynxeyed_atsu 0:d920d64db582 62 #define _UART3
lynxeyed_atsu 0:d920d64db582 63
lynxeyed_atsu 0:d920d64db582 64 /* SPI ------------------------------- */
lynxeyed_atsu 0:d920d64db582 65 #define _SPI
lynxeyed_atsu 0:d920d64db582 66
lynxeyed_atsu 0:d920d64db582 67 /* SYSTICK --------------------------- */
lynxeyed_atsu 0:d920d64db582 68 #define _SYSTICK
lynxeyed_atsu 0:d920d64db582 69
lynxeyed_atsu 0:d920d64db582 70 /* SSP ------------------------------- */
lynxeyed_atsu 0:d920d64db582 71 #define _SSP
lynxeyed_atsu 0:d920d64db582 72 #define _SSP0
lynxeyed_atsu 0:d920d64db582 73 #define _SSP1
lynxeyed_atsu 0:d920d64db582 74
lynxeyed_atsu 0:d920d64db582 75
lynxeyed_atsu 0:d920d64db582 76 /* I2C ------------------------------- */
lynxeyed_atsu 0:d920d64db582 77 #define _I2C
lynxeyed_atsu 0:d920d64db582 78 #define _I2C0
lynxeyed_atsu 0:d920d64db582 79 #define _I2C1
lynxeyed_atsu 0:d920d64db582 80 #define _I2C2
lynxeyed_atsu 0:d920d64db582 81
lynxeyed_atsu 0:d920d64db582 82 /* TIMER ------------------------------- */
lynxeyed_atsu 0:d920d64db582 83 #define _TIM
lynxeyed_atsu 0:d920d64db582 84
lynxeyed_atsu 0:d920d64db582 85 /* WDT ------------------------------- */
lynxeyed_atsu 0:d920d64db582 86 #define _WDT
lynxeyed_atsu 0:d920d64db582 87
lynxeyed_atsu 0:d920d64db582 88
lynxeyed_atsu 0:d920d64db582 89 /* GPDMA ------------------------------- */
lynxeyed_atsu 0:d920d64db582 90 #define _GPDMA
lynxeyed_atsu 0:d920d64db582 91
lynxeyed_atsu 0:d920d64db582 92
lynxeyed_atsu 0:d920d64db582 93 /* DAC ------------------------------- */
lynxeyed_atsu 0:d920d64db582 94 #define _DAC
lynxeyed_atsu 0:d920d64db582 95
lynxeyed_atsu 0:d920d64db582 96 /* DAC ------------------------------- */
lynxeyed_atsu 0:d920d64db582 97 #define _ADC
lynxeyed_atsu 0:d920d64db582 98
lynxeyed_atsu 0:d920d64db582 99
lynxeyed_atsu 0:d920d64db582 100 /* PWM ------------------------------- */
lynxeyed_atsu 0:d920d64db582 101 #define _PWM
lynxeyed_atsu 0:d920d64db582 102 #define _PWM1
lynxeyed_atsu 0:d920d64db582 103
lynxeyed_atsu 0:d920d64db582 104 /* RTC ------------------------------- */
lynxeyed_atsu 0:d920d64db582 105 #define _RTC
lynxeyed_atsu 0:d920d64db582 106
lynxeyed_atsu 0:d920d64db582 107 /* I2S ------------------------------- */
lynxeyed_atsu 0:d920d64db582 108 #define _I2S
lynxeyed_atsu 0:d920d64db582 109
lynxeyed_atsu 0:d920d64db582 110 /* USB device ------------------------------- */
lynxeyed_atsu 0:d920d64db582 111 #define _USBDEV
lynxeyed_atsu 0:d920d64db582 112 #define _USB_DMA
lynxeyed_atsu 0:d920d64db582 113
lynxeyed_atsu 0:d920d64db582 114 /* QEI ------------------------------- */
lynxeyed_atsu 0:d920d64db582 115 #define _QEI
lynxeyed_atsu 0:d920d64db582 116
lynxeyed_atsu 0:d920d64db582 117 /* MCPWM ------------------------------- */
lynxeyed_atsu 0:d920d64db582 118 #define _MCPWM
lynxeyed_atsu 0:d920d64db582 119
lynxeyed_atsu 0:d920d64db582 120 /* CAN--------------------------------*/
lynxeyed_atsu 0:d920d64db582 121 #define _CAN
lynxeyed_atsu 0:d920d64db582 122
lynxeyed_atsu 0:d920d64db582 123 /* RIT ------------------------------- */
lynxeyed_atsu 0:d920d64db582 124 #define _RIT
lynxeyed_atsu 0:d920d64db582 125
lynxeyed_atsu 0:d920d64db582 126 /* EMAC ------------------------------ */
lynxeyed_atsu 0:d920d64db582 127 #define _EMAC
lynxeyed_atsu 0:d920d64db582 128
lynxeyed_atsu 0:d920d64db582 129 /************************** GLOBAL/PUBLIC MACRO DEFINITIONS *********************************/
lynxeyed_atsu 0:d920d64db582 130
lynxeyed_atsu 0:d920d64db582 131 #ifdef DEBUG
lynxeyed_atsu 0:d920d64db582 132 /*******************************************************************************
lynxeyed_atsu 0:d920d64db582 133 * @brief The CHECK_PARAM macro is used for function's parameters check.
lynxeyed_atsu 0:d920d64db582 134 * It is used only if the library is compiled in DEBUG mode.
lynxeyed_atsu 0:d920d64db582 135 * @param[in] expr - If expr is false, it calls check_failed() function
lynxeyed_atsu 0:d920d64db582 136 * which reports the name of the source file and the source
lynxeyed_atsu 0:d920d64db582 137 * line number of the call that failed.
lynxeyed_atsu 0:d920d64db582 138 * - If expr is true, it returns no value.
lynxeyed_atsu 0:d920d64db582 139 * @return None
lynxeyed_atsu 0:d920d64db582 140 *******************************************************************************/
lynxeyed_atsu 0:d920d64db582 141 #define CHECK_PARAM(expr) ((expr) ? (void)0 : check_failed((uint8_t *)__FILE__, __LINE__))
lynxeyed_atsu 0:d920d64db582 142 #else
lynxeyed_atsu 0:d920d64db582 143 #define CHECK_PARAM(expr)
lynxeyed_atsu 0:d920d64db582 144 #endif /* DEBUG */
lynxeyed_atsu 0:d920d64db582 145
lynxeyed_atsu 0:d920d64db582 146 /**
lynxeyed_atsu 0:d920d64db582 147 * @}
lynxeyed_atsu 0:d920d64db582 148 */
lynxeyed_atsu 0:d920d64db582 149
lynxeyed_atsu 0:d920d64db582 150
lynxeyed_atsu 0:d920d64db582 151 /* Public Functions ----------------------------------------------------------- */
lynxeyed_atsu 0:d920d64db582 152 /** @defgroup LIBCFG_DEFAULT_Public_Functions LIBCFG_DEFAULT Public Functions
lynxeyed_atsu 0:d920d64db582 153 * @{
lynxeyed_atsu 0:d920d64db582 154 */
lynxeyed_atsu 0:d920d64db582 155
lynxeyed_atsu 0:d920d64db582 156 #ifdef DEBUG
lynxeyed_atsu 0:d920d64db582 157 void check_failed(uint8_t *file, uint32_t line);
lynxeyed_atsu 0:d920d64db582 158 #endif
lynxeyed_atsu 0:d920d64db582 159
lynxeyed_atsu 0:d920d64db582 160 /**
lynxeyed_atsu 0:d920d64db582 161 * @}
lynxeyed_atsu 0:d920d64db582 162 */
lynxeyed_atsu 0:d920d64db582 163
lynxeyed_atsu 0:d920d64db582 164 #endif /* LPC17XX_LIBCFG_DEFAULT_H_ */
lynxeyed_atsu 0:d920d64db582 165
lynxeyed_atsu 0:d920d64db582 166 /**
lynxeyed_atsu 0:d920d64db582 167 * @}
lynxeyed_atsu 0:d920d64db582 168 */
lynxeyed_atsu 0:d920d64db582 169
lynxeyed_atsu 0:d920d64db582 170 /* --------------------------------- End Of File ------------------------------ */