パラメータを適応変化させる事により圧縮率を向上させた動的ライス・ゴロム符号を利用した可逆圧縮方式。圧縮ソフト、圧縮率の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.h
lynxeyed_atsu 0:d920d64db582 3 * @purpose Library configuration 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 #ifndef LPC17XX_LIBCFG_H_
lynxeyed_atsu 0:d920d64db582 21 #define LPC17XX_LIBCFG_H_
lynxeyed_atsu 0:d920d64db582 22
lynxeyed_atsu 0:d920d64db582 23 #include "lpc_types.h"
lynxeyed_atsu 0:d920d64db582 24
lynxeyed_atsu 0:d920d64db582 25
lynxeyed_atsu 0:d920d64db582 26 /************************** DEBUG MODE DEFINITIONS *********************************/
lynxeyed_atsu 0:d920d64db582 27 /* Un-comment the line below to compile the library in DEBUG mode, this will expanse
lynxeyed_atsu 0:d920d64db582 28 the "CHECK_PARAM" macro in the FW library code */
lynxeyed_atsu 0:d920d64db582 29
lynxeyed_atsu 0:d920d64db582 30 #define DEBUG
lynxeyed_atsu 0:d920d64db582 31
lynxeyed_atsu 0:d920d64db582 32
lynxeyed_atsu 0:d920d64db582 33 /******************* PERIPHERAL FW LIBRARY CONFIGURATION DEFINITIONS ***********************/
lynxeyed_atsu 0:d920d64db582 34
lynxeyed_atsu 0:d920d64db582 35 /* Comment the line below to disable the specific peripheral inclusion */
lynxeyed_atsu 0:d920d64db582 36
lynxeyed_atsu 0:d920d64db582 37 /* DEBUG_FRAMWORK ------------------------------ */
lynxeyed_atsu 0:d920d64db582 38 #define _DBGFWK
lynxeyed_atsu 0:d920d64db582 39
lynxeyed_atsu 0:d920d64db582 40 /* GPIO ------------------------------- */
lynxeyed_atsu 0:d920d64db582 41 //#define _GPIO
lynxeyed_atsu 0:d920d64db582 42
lynxeyed_atsu 0:d920d64db582 43 /* EXTI ------------------------------- */
lynxeyed_atsu 0:d920d64db582 44 //#define _EXTI
lynxeyed_atsu 0:d920d64db582 45
lynxeyed_atsu 0:d920d64db582 46 /* UART ------------------------------- */
lynxeyed_atsu 0:d920d64db582 47 #define _UART
lynxeyed_atsu 0:d920d64db582 48 #define _UART0
lynxeyed_atsu 0:d920d64db582 49 //#define _UART1
lynxeyed_atsu 0:d920d64db582 50 //#define _UART2
lynxeyed_atsu 0:d920d64db582 51 //#define _UART3
lynxeyed_atsu 0:d920d64db582 52
lynxeyed_atsu 0:d920d64db582 53 /* SPI ------------------------------- */
lynxeyed_atsu 0:d920d64db582 54 //#define _SPI
lynxeyed_atsu 0:d920d64db582 55
lynxeyed_atsu 0:d920d64db582 56 /* SSP ------------------------------- */
lynxeyed_atsu 0:d920d64db582 57 //#define _SSP
lynxeyed_atsu 0:d920d64db582 58 //#define _SSP0
lynxeyed_atsu 0:d920d64db582 59 //#define _SSP1
lynxeyed_atsu 0:d920d64db582 60
lynxeyed_atsu 0:d920d64db582 61 /* SYSTICK --------------------------- */
lynxeyed_atsu 0:d920d64db582 62 //#define _SYSTICK
lynxeyed_atsu 0:d920d64db582 63
lynxeyed_atsu 0:d920d64db582 64 /* I2C ------------------------------- */
lynxeyed_atsu 0:d920d64db582 65 //#define _I2C
lynxeyed_atsu 0:d920d64db582 66 //#define _I2C0
lynxeyed_atsu 0:d920d64db582 67 //#define _I2C1
lynxeyed_atsu 0:d920d64db582 68 //#define _I2C2
lynxeyed_atsu 0:d920d64db582 69
lynxeyed_atsu 0:d920d64db582 70 /* TIMER ------------------------------- */
lynxeyed_atsu 0:d920d64db582 71 //#define _TIM
lynxeyed_atsu 0:d920d64db582 72
lynxeyed_atsu 0:d920d64db582 73 /* WDT ------------------------------- */
lynxeyed_atsu 0:d920d64db582 74 //#define _WDT
lynxeyed_atsu 0:d920d64db582 75
lynxeyed_atsu 0:d920d64db582 76
lynxeyed_atsu 0:d920d64db582 77 /* GPDMA ------------------------------- */
lynxeyed_atsu 0:d920d64db582 78 //#define _GPDMA
lynxeyed_atsu 0:d920d64db582 79
lynxeyed_atsu 0:d920d64db582 80
lynxeyed_atsu 0:d920d64db582 81 /* DAC ------------------------------- */
lynxeyed_atsu 0:d920d64db582 82 //#define _DAC
lynxeyed_atsu 0:d920d64db582 83
lynxeyed_atsu 0:d920d64db582 84 /* DAC ------------------------------- */
lynxeyed_atsu 0:d920d64db582 85 //#define _ADC
lynxeyed_atsu 0:d920d64db582 86
lynxeyed_atsu 0:d920d64db582 87
lynxeyed_atsu 0:d920d64db582 88 /* PWM ------------------------------- */
lynxeyed_atsu 0:d920d64db582 89 //#define _PWM
lynxeyed_atsu 0:d920d64db582 90 //#define _PWM1
lynxeyed_atsu 0:d920d64db582 91
lynxeyed_atsu 0:d920d64db582 92 /* RTC ------------------------------- */
lynxeyed_atsu 0:d920d64db582 93 //#define _RTC
lynxeyed_atsu 0:d920d64db582 94
lynxeyed_atsu 0:d920d64db582 95 /* I2S ------------------------------- */
lynxeyed_atsu 0:d920d64db582 96 #define _I2S
lynxeyed_atsu 0:d920d64db582 97
lynxeyed_atsu 0:d920d64db582 98 /* USB device ------------------------------- */
lynxeyed_atsu 0:d920d64db582 99 //#define _USBDEV
lynxeyed_atsu 0:d920d64db582 100 //#define _USB_DMA
lynxeyed_atsu 0:d920d64db582 101
lynxeyed_atsu 0:d920d64db582 102 /* QEI ------------------------------- */
lynxeyed_atsu 0:d920d64db582 103 //#define _QEI
lynxeyed_atsu 0:d920d64db582 104
lynxeyed_atsu 0:d920d64db582 105 /* MCPWM ------------------------------- */
lynxeyed_atsu 0:d920d64db582 106 //#define _MCPWM
lynxeyed_atsu 0:d920d64db582 107
lynxeyed_atsu 0:d920d64db582 108 /* CAN--------------------------------*/
lynxeyed_atsu 0:d920d64db582 109 //#define _CAN
lynxeyed_atsu 0:d920d64db582 110
lynxeyed_atsu 0:d920d64db582 111 /* RIT ------------------------------- */
lynxeyed_atsu 0:d920d64db582 112 //#define _RIT
lynxeyed_atsu 0:d920d64db582 113
lynxeyed_atsu 0:d920d64db582 114 /* EMAC ------------------------------ */
lynxeyed_atsu 0:d920d64db582 115 //#define _EMAC
lynxeyed_atsu 0:d920d64db582 116
lynxeyed_atsu 0:d920d64db582 117 /************************** GLOBAL/PUBLIC MACRO DEFINITIONS *********************************/
lynxeyed_atsu 0:d920d64db582 118
lynxeyed_atsu 0:d920d64db582 119 #ifdef DEBUG
lynxeyed_atsu 0:d920d64db582 120 /*******************************************************************************
lynxeyed_atsu 0:d920d64db582 121 * @brief The CHECK_PARAM macro is used for function's parameters check.
lynxeyed_atsu 0:d920d64db582 122 * It is used only if the library is compiled in DEBUG mode.
lynxeyed_atsu 0:d920d64db582 123 * @param[in] expr - If expr is false, it calls check_failed() function
lynxeyed_atsu 0:d920d64db582 124 * which reports the name of the source file and the source
lynxeyed_atsu 0:d920d64db582 125 * line number of the call that failed.
lynxeyed_atsu 0:d920d64db582 126 * - If expr is true, it returns no value.
lynxeyed_atsu 0:d920d64db582 127 * @return None
lynxeyed_atsu 0:d920d64db582 128 *******************************************************************************/
lynxeyed_atsu 0:d920d64db582 129 #define CHECK_PARAM(expr) ((expr) ? (void)0 : check_failed((uint8_t *)__FILE__, __LINE__))
lynxeyed_atsu 0:d920d64db582 130 #else
lynxeyed_atsu 0:d920d64db582 131 #define CHECK_PARAM(expr)
lynxeyed_atsu 0:d920d64db582 132 #endif /* DEBUG */
lynxeyed_atsu 0:d920d64db582 133
lynxeyed_atsu 0:d920d64db582 134
lynxeyed_atsu 0:d920d64db582 135
lynxeyed_atsu 0:d920d64db582 136 /************************** GLOBAL/PUBLIC FUNCTION DECLARATION *********************************/
lynxeyed_atsu 0:d920d64db582 137
lynxeyed_atsu 0:d920d64db582 138 #ifdef DEBUG
lynxeyed_atsu 0:d920d64db582 139 void check_failed(uint8_t *file, uint32_t line);
lynxeyed_atsu 0:d920d64db582 140 #endif
lynxeyed_atsu 0:d920d64db582 141
lynxeyed_atsu 0:d920d64db582 142
lynxeyed_atsu 0:d920d64db582 143 #endif /* LPC17XX_LIBCFG_H_ */