These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Committer:
frank26080115
Date:
Sun Mar 20 05:38:56 2011 +0000
Revision:
0:bf7b9fba3924

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
frank26080115 0:bf7b9fba3924 1 /***********************************************************************//**
frank26080115 0:bf7b9fba3924 2 * @file mcpwm_simple.c
frank26080115 0:bf7b9fba3924 3 * @purpose This example used to test MCPWM driver
frank26080115 0:bf7b9fba3924 4 * @version 2.0
frank26080115 0:bf7b9fba3924 5 * @date 21. May. 2010
frank26080115 0:bf7b9fba3924 6 * @author NXP MCU SW Application Team
frank26080115 0:bf7b9fba3924 7 *---------------------------------------------------------------------
frank26080115 0:bf7b9fba3924 8 * Software that is described herein is for illustrative purposes only
frank26080115 0:bf7b9fba3924 9 * which provides customers with programming information regarding the
frank26080115 0:bf7b9fba3924 10 * products. This software is supplied "AS IS" without any warranties.
frank26080115 0:bf7b9fba3924 11 * NXP Semiconductors assumes no responsibility or liability for the
frank26080115 0:bf7b9fba3924 12 * use of the software, conveys no license or title under any patent,
frank26080115 0:bf7b9fba3924 13 * copyright, or mask work right to the product. NXP Semiconductors
frank26080115 0:bf7b9fba3924 14 * reserves the right to make changes in the software without
frank26080115 0:bf7b9fba3924 15 * notification. NXP Semiconductors also make no representation or
frank26080115 0:bf7b9fba3924 16 * warranty that such application will be suitable for the specified
frank26080115 0:bf7b9fba3924 17 * use without further testing or modification.
frank26080115 0:bf7b9fba3924 18 **********************************************************************/
frank26080115 0:bf7b9fba3924 19 #include "lpc17xx_mcpwm.h"
frank26080115 0:bf7b9fba3924 20 #include "lpc17xx_pinsel.h"
frank26080115 0:bf7b9fba3924 21 #include "lpc17xx_libcfg.h"
frank26080115 0:bf7b9fba3924 22 #include "lpc17xx_clkpwr.h"
frank26080115 0:bf7b9fba3924 23 #include "debug_frmwrk.h"
frank26080115 0:bf7b9fba3924 24
frank26080115 0:bf7b9fba3924 25
frank26080115 0:bf7b9fba3924 26 /* Example group ----------------------------------------------------------- */
frank26080115 0:bf7b9fba3924 27 /** @defgroup MCPWM_MCPWMSimple MCPWMSimple
frank26080115 0:bf7b9fba3924 28 * @ingroup MCPWM_Examples
frank26080115 0:bf7b9fba3924 29 * @{
frank26080115 0:bf7b9fba3924 30 */
frank26080115 0:bf7b9fba3924 31
frank26080115 0:bf7b9fba3924 32 /************************** PRIVATE DEFINITIONS **********************/
frank26080115 0:bf7b9fba3924 33 /** MCPWM in 3-phase DC motor mode test */
frank26080115 0:bf7b9fba3924 34 #define DC_MODE_TEST 1
frank26080115 0:bf7b9fba3924 35 /** MCPWM in 3-phase AC motor mode test */
frank26080115 0:bf7b9fba3924 36 #define AC_MODE_TEST 0
frank26080115 0:bf7b9fba3924 37 /** MCPWM tested with Capture function */
frank26080115 0:bf7b9fba3924 38 #define CAPTURE_MODE_TEST 0
frank26080115 0:bf7b9fba3924 39
frank26080115 0:bf7b9fba3924 40
frank26080115 0:bf7b9fba3924 41 /************************** PRIVATE VARIABLES *************************/
frank26080115 0:bf7b9fba3924 42 #if CAPTURE_MODE_TEST
frank26080115 0:bf7b9fba3924 43 /** Capture configuration data */
frank26080115 0:bf7b9fba3924 44 MCPWM_CAPTURE_CFG_Type captureCfg;
frank26080115 0:bf7b9fba3924 45 /** capture flag */
frank26080115 0:bf7b9fba3924 46 __IO FlagStatus CapFlag;
frank26080115 0:bf7b9fba3924 47 /** Latest capture value */
frank26080115 0:bf7b9fba3924 48 __IO uint32_t CapVal;
frank26080115 0:bf7b9fba3924 49 #endif
frank26080115 0:bf7b9fba3924 50 /************************** PRIVATE FUNCTIONS *************************/
frank26080115 0:bf7b9fba3924 51 void MCPWM_IRQHandler(void);
frank26080115 0:bf7b9fba3924 52
frank26080115 0:bf7b9fba3924 53 /*----------------- INTERRUPT SERVICE ROUTINES --------------------------*/
frank26080115 0:bf7b9fba3924 54 /*********************************************************************//**
frank26080115 0:bf7b9fba3924 55 * @brief MCPWM interrupt handler sub-routine
frank26080115 0:bf7b9fba3924 56 * @param[in] None
frank26080115 0:bf7b9fba3924 57 * @return None
frank26080115 0:bf7b9fba3924 58 **********************************************************************/
frank26080115 0:bf7b9fba3924 59 void MCPWM_IRQHandler(void)
frank26080115 0:bf7b9fba3924 60 {
frank26080115 0:bf7b9fba3924 61 #if CAPTURE_MODE_TEST
frank26080115 0:bf7b9fba3924 62 // Check whether if capture event interrupt is set
frank26080115 0:bf7b9fba3924 63 if (MCPWM_GetIntStatus(LPC_MCPWM, MCPWM_INTFLAG_CAP0)) {
frank26080115 0:bf7b9fba3924 64 if (CapFlag == RESET) {
frank26080115 0:bf7b9fba3924 65 // Store capture value
frank26080115 0:bf7b9fba3924 66 CapVal = MCPWM_GetCapture(LPC_MCPWM, 0);
frank26080115 0:bf7b9fba3924 67 // toggle capture flag
frank26080115 0:bf7b9fba3924 68 CapFlag = SET;
frank26080115 0:bf7b9fba3924 69 // Disable interrupt for capture event
frank26080115 0:bf7b9fba3924 70 MCPWM_IntConfig(LPC_MCPWM, MCPWM_INTFLAG_CAP0, DISABLE);
frank26080115 0:bf7b9fba3924 71 }
frank26080115 0:bf7b9fba3924 72 // Clear pending interrupt
frank26080115 0:bf7b9fba3924 73 MCPWM_IntClear(LPC_MCPWM, MCPWM_INTFLAG_CAP0);
frank26080115 0:bf7b9fba3924 74 }
frank26080115 0:bf7b9fba3924 75 #endif
frank26080115 0:bf7b9fba3924 76 }
frank26080115 0:bf7b9fba3924 77
frank26080115 0:bf7b9fba3924 78
frank26080115 0:bf7b9fba3924 79 /*-------------------------MAIN FUNCTION------------------------------*/
frank26080115 0:bf7b9fba3924 80 /*********************************************************************//**
frank26080115 0:bf7b9fba3924 81 * @brief c_entry: Main MCPWM program body
frank26080115 0:bf7b9fba3924 82 * @param[in] None
frank26080115 0:bf7b9fba3924 83 * @return int
frank26080115 0:bf7b9fba3924 84 **********************************************************************/
frank26080115 0:bf7b9fba3924 85 int c_entry(void)
frank26080115 0:bf7b9fba3924 86 {
frank26080115 0:bf7b9fba3924 87 // MCPWM Channel configuration data
frank26080115 0:bf7b9fba3924 88 MCPWM_CHANNEL_CFG_Type channelsetup[3];
frank26080115 0:bf7b9fba3924 89 uint32_t i;
frank26080115 0:bf7b9fba3924 90 PINSEL_CFG_Type PinCfg;
frank26080115 0:bf7b9fba3924 91
frank26080115 0:bf7b9fba3924 92 /* Initialize debug via UART0
frank26080115 0:bf7b9fba3924 93 * – 115200bps
frank26080115 0:bf7b9fba3924 94 * – 8 data bit
frank26080115 0:bf7b9fba3924 95 * – No parity
frank26080115 0:bf7b9fba3924 96 * – 1 stop bit
frank26080115 0:bf7b9fba3924 97 * – No flow control
frank26080115 0:bf7b9fba3924 98 */
frank26080115 0:bf7b9fba3924 99 debug_frmwrk_init();
frank26080115 0:bf7b9fba3924 100 _DBG_("Hello MCPWM ...");
frank26080115 0:bf7b9fba3924 101
frank26080115 0:bf7b9fba3924 102 /* Pin configuration for MCPWM function:
frank26080115 0:bf7b9fba3924 103 * Assign: - P1.19 as MCOA0 - Motor Control Channel 0 Output A
frank26080115 0:bf7b9fba3924 104 * - P1.22 as MCOB0 - Motor Control Channel 0 Output B
frank26080115 0:bf7b9fba3924 105 * - P1.25 as MCOA1 - Motor Control Channel 1 Output A
frank26080115 0:bf7b9fba3924 106 * - P1.26 as MCOB1 - Motor Control Channel 1 Output B
frank26080115 0:bf7b9fba3924 107 * - P1.28 as MCOA2 - Motor Control Channel 2 Output A
frank26080115 0:bf7b9fba3924 108 * - P1.29 as MCOB2 - Motor Control Channel 2 Output B
frank26080115 0:bf7b9fba3924 109 * - P1.20 as MCI0 - Motor Control Feed Back Channel 0
frank26080115 0:bf7b9fba3924 110 * Warning: According to Errata.lpc1768-18.March.2010: Input pin (MIC0-2)
frank26080115 0:bf7b9fba3924 111 * on the Motor Control PWM peripheral are not functional
frank26080115 0:bf7b9fba3924 112 */
frank26080115 0:bf7b9fba3924 113 PinCfg.Funcnum = 1;
frank26080115 0:bf7b9fba3924 114 PinCfg.OpenDrain = 0;
frank26080115 0:bf7b9fba3924 115 PinCfg.Pinmode = 0;
frank26080115 0:bf7b9fba3924 116 PinCfg.Portnum = 1;
frank26080115 0:bf7b9fba3924 117 PinCfg.Pinnum = 19;
frank26080115 0:bf7b9fba3924 118 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 119 PinCfg.Pinnum = 22;
frank26080115 0:bf7b9fba3924 120 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 121 PinCfg.Pinnum = 25;
frank26080115 0:bf7b9fba3924 122 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 123 PinCfg.Pinnum = 26;
frank26080115 0:bf7b9fba3924 124 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 125 PinCfg.Pinnum = 28;
frank26080115 0:bf7b9fba3924 126 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 127 PinCfg.Pinnum = 29;
frank26080115 0:bf7b9fba3924 128 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 129 PinCfg.Pinnum = 20;
frank26080115 0:bf7b9fba3924 130 PINSEL_ConfigPin(&PinCfg);
frank26080115 0:bf7b9fba3924 131
frank26080115 0:bf7b9fba3924 132 /* Disable interrupt for MCPWM */
frank26080115 0:bf7b9fba3924 133 NVIC_DisableIRQ(MCPWM_IRQn);
frank26080115 0:bf7b9fba3924 134 /* preemption = 1, sub-priority = 1 */
frank26080115 0:bf7b9fba3924 135 NVIC_SetPriority(MCPWM_IRQn, ((0x01<<3)|0x01));
frank26080115 0:bf7b9fba3924 136
frank26080115 0:bf7b9fba3924 137 /* Init MCPWM peripheral */
frank26080115 0:bf7b9fba3924 138 MCPWM_Init(LPC_MCPWM);
frank26080115 0:bf7b9fba3924 139
frank26080115 0:bf7b9fba3924 140 channelsetup[0].channelType = MCPWM_CHANNEL_EDGE_MODE;
frank26080115 0:bf7b9fba3924 141 channelsetup[0].channelPolarity = MCPWM_CHANNEL_PASSIVE_LO;
frank26080115 0:bf7b9fba3924 142 channelsetup[0].channelDeadtimeEnable = DISABLE;
frank26080115 0:bf7b9fba3924 143 channelsetup[0].channelDeadtimeValue = 0;
frank26080115 0:bf7b9fba3924 144 channelsetup[0].channelUpdateEnable = ENABLE;
frank26080115 0:bf7b9fba3924 145 channelsetup[0].channelTimercounterValue = 0;
frank26080115 0:bf7b9fba3924 146 channelsetup[0].channelPeriodValue = 300;
frank26080115 0:bf7b9fba3924 147 channelsetup[0].channelPulsewidthValue = 0;
frank26080115 0:bf7b9fba3924 148
frank26080115 0:bf7b9fba3924 149 channelsetup[1].channelType = MCPWM_CHANNEL_EDGE_MODE;
frank26080115 0:bf7b9fba3924 150 channelsetup[1].channelPolarity = MCPWM_CHANNEL_PASSIVE_LO;
frank26080115 0:bf7b9fba3924 151 channelsetup[1].channelDeadtimeEnable = DISABLE;
frank26080115 0:bf7b9fba3924 152 channelsetup[1].channelDeadtimeValue = 0;
frank26080115 0:bf7b9fba3924 153 channelsetup[1].channelUpdateEnable = ENABLE;
frank26080115 0:bf7b9fba3924 154 channelsetup[1].channelTimercounterValue = 0;
frank26080115 0:bf7b9fba3924 155 channelsetup[1].channelPeriodValue = 300;
frank26080115 0:bf7b9fba3924 156 channelsetup[1].channelPulsewidthValue = 100;
frank26080115 0:bf7b9fba3924 157
frank26080115 0:bf7b9fba3924 158 channelsetup[2].channelType = MCPWM_CHANNEL_EDGE_MODE;
frank26080115 0:bf7b9fba3924 159 channelsetup[2].channelPolarity = MCPWM_CHANNEL_PASSIVE_LO;
frank26080115 0:bf7b9fba3924 160 channelsetup[2].channelDeadtimeEnable = DISABLE;
frank26080115 0:bf7b9fba3924 161 channelsetup[2].channelDeadtimeValue = 0;
frank26080115 0:bf7b9fba3924 162 channelsetup[2].channelUpdateEnable = ENABLE;
frank26080115 0:bf7b9fba3924 163 channelsetup[2].channelTimercounterValue = 0;
frank26080115 0:bf7b9fba3924 164 channelsetup[2].channelPeriodValue = 300;
frank26080115 0:bf7b9fba3924 165 channelsetup[2].channelPulsewidthValue = 200;
frank26080115 0:bf7b9fba3924 166
frank26080115 0:bf7b9fba3924 167 MCPWM_ConfigChannel(LPC_MCPWM, 0, &channelsetup[0]);
frank26080115 0:bf7b9fba3924 168 MCPWM_ConfigChannel(LPC_MCPWM, 1, &channelsetup[1]);
frank26080115 0:bf7b9fba3924 169 MCPWM_ConfigChannel(LPC_MCPWM, 2, &channelsetup[2]);
frank26080115 0:bf7b9fba3924 170
frank26080115 0:bf7b9fba3924 171 #if DC_MODE_TEST
frank26080115 0:bf7b9fba3924 172 /*
frank26080115 0:bf7b9fba3924 173 * - DC mode enabled.
frank26080115 0:bf7b9fba3924 174 * - Invert Output enabled
frank26080115 0:bf7b9fba3924 175 * - A0 and A1 output pin is internally routed to A0 signal
frank26080115 0:bf7b9fba3924 176 */
frank26080115 0:bf7b9fba3924 177 MCPWM_DCMode(LPC_MCPWM, ENABLE, ENABLE, (MCPWM_PATENT_A0|MCPWM_PATENT_A1));
frank26080115 0:bf7b9fba3924 178 #endif
frank26080115 0:bf7b9fba3924 179
frank26080115 0:bf7b9fba3924 180 #if AC_MODE_TEST
frank26080115 0:bf7b9fba3924 181 /*
frank26080115 0:bf7b9fba3924 182 * - AC mode is enabled.
frank26080115 0:bf7b9fba3924 183 */
frank26080115 0:bf7b9fba3924 184 MCPWM_ACMode(LPC_MCPWM, ENABLE);
frank26080115 0:bf7b9fba3924 185 #endif
frank26080115 0:bf7b9fba3924 186
frank26080115 0:bf7b9fba3924 187 #if CAPTURE_MODE_TEST
frank26080115 0:bf7b9fba3924 188 /*
frank26080115 0:bf7b9fba3924 189 * Capture mode in this case is used to detect the falling edge on MCO0B output pin.
frank26080115 0:bf7b9fba3924 190 * The MCFB0 input pin therefore must be connected to MCO0B. (P1.20 - P1.22)
frank26080115 0:bf7b9fba3924 191 * - Capture Channel 0.
frank26080115 0:bf7b9fba3924 192 * - Capture falling edge on MCFB0 input pin.
frank26080115 0:bf7b9fba3924 193 * - Interrupt enabled on capture event.
frank26080115 0:bf7b9fba3924 194 */
frank26080115 0:bf7b9fba3924 195 captureCfg.captureChannel = 0;
frank26080115 0:bf7b9fba3924 196 captureCfg.captureFalling = ENABLE;
frank26080115 0:bf7b9fba3924 197 captureCfg.captureRising = DISABLE;
frank26080115 0:bf7b9fba3924 198 captureCfg.hnfEnable = DISABLE;
frank26080115 0:bf7b9fba3924 199 captureCfg.timerReset = DISABLE;
frank26080115 0:bf7b9fba3924 200 MCPWM_ConfigCapture(LPC_MCPWM, 0, &captureCfg);
frank26080115 0:bf7b9fba3924 201
frank26080115 0:bf7b9fba3924 202 // Reset flag for the first time
frank26080115 0:bf7b9fba3924 203 CapFlag = RESET;
frank26080115 0:bf7b9fba3924 204
frank26080115 0:bf7b9fba3924 205 // Enable interrupt for capture event on MCI0 (MCFB0)
frank26080115 0:bf7b9fba3924 206 MCPWM_IntConfig(LPC_MCPWM, MCPWM_INTFLAG_CAP0, ENABLE);
frank26080115 0:bf7b9fba3924 207
frank26080115 0:bf7b9fba3924 208 /* Enable interrupt for MCPWM */
frank26080115 0:bf7b9fba3924 209 NVIC_EnableIRQ(MCPWM_IRQn);
frank26080115 0:bf7b9fba3924 210 #endif
frank26080115 0:bf7b9fba3924 211
frank26080115 0:bf7b9fba3924 212 MCPWM_Start(LPC_MCPWM, ENABLE, ENABLE, ENABLE);
frank26080115 0:bf7b9fba3924 213
frank26080115 0:bf7b9fba3924 214 // Main loop
frank26080115 0:bf7b9fba3924 215 while (1) {
frank26080115 0:bf7b9fba3924 216 // Timer_Wait(LPC_TIM0, 1000);
frank26080115 0:bf7b9fba3924 217 //delay
frank26080115 0:bf7b9fba3924 218 for(i=0;i<100000;i++);
frank26080115 0:bf7b9fba3924 219
frank26080115 0:bf7b9fba3924 220 channelsetup[0].channelPulsewidthValue = (channelsetup[0].channelPulsewidthValue >= 300) ?
frank26080115 0:bf7b9fba3924 221 0 : channelsetup[0].channelPulsewidthValue + 20;
frank26080115 0:bf7b9fba3924 222 channelsetup[1].channelPulsewidthValue = (channelsetup[1].channelPulsewidthValue >= 300) ?
frank26080115 0:bf7b9fba3924 223 0 : channelsetup[1].channelPulsewidthValue + 20;
frank26080115 0:bf7b9fba3924 224 channelsetup[2].channelPulsewidthValue = (channelsetup[2].channelPulsewidthValue >= 300) ?
frank26080115 0:bf7b9fba3924 225 0 : channelsetup[2].channelPulsewidthValue + 20;
frank26080115 0:bf7b9fba3924 226 _DBG_("Update!");
frank26080115 0:bf7b9fba3924 227 MCPWM_WriteToShadow(LPC_MCPWM, 0, &channelsetup[0]);
frank26080115 0:bf7b9fba3924 228 MCPWM_WriteToShadow(LPC_MCPWM, 1, &channelsetup[1]);
frank26080115 0:bf7b9fba3924 229 MCPWM_WriteToShadow(LPC_MCPWM, 2, &channelsetup[2]);
frank26080115 0:bf7b9fba3924 230 #if CAPTURE_MODE_TEST
frank26080115 0:bf7b9fba3924 231 // Check capture flag is set or not
frank26080115 0:bf7b9fba3924 232 if (CapFlag) {
frank26080115 0:bf7b9fba3924 233 // Print out the value
frank26080115 0:bf7b9fba3924 234 _DBG("Capture Value: ");
frank26080115 0:bf7b9fba3924 235 _DBD32(CapVal); _DBG_("");
frank26080115 0:bf7b9fba3924 236
frank26080115 0:bf7b9fba3924 237 // Setup a new capture event
frank26080115 0:bf7b9fba3924 238 MCPWM_ConfigCapture(LPC_MCPWM, 0, &captureCfg);
frank26080115 0:bf7b9fba3924 239
frank26080115 0:bf7b9fba3924 240 // Re-Enable interrupt for capture event on MCI0 (MCFB0)
frank26080115 0:bf7b9fba3924 241 MCPWM_IntConfig(LPC_MCPWM, MCPWM_INTFLAG_CAP0, ENABLE);
frank26080115 0:bf7b9fba3924 242
frank26080115 0:bf7b9fba3924 243 // Reset flag
frank26080115 0:bf7b9fba3924 244 CapFlag = RESET;
frank26080115 0:bf7b9fba3924 245 }
frank26080115 0:bf7b9fba3924 246 #endif
frank26080115 0:bf7b9fba3924 247 }
frank26080115 0:bf7b9fba3924 248
frank26080115 0:bf7b9fba3924 249 /* Loop forever */
frank26080115 0:bf7b9fba3924 250 return 1;
frank26080115 0:bf7b9fba3924 251 }
frank26080115 0:bf7b9fba3924 252
frank26080115 0:bf7b9fba3924 253 /* With ARM and GHS toolsets, the entry point is main() - this will
frank26080115 0:bf7b9fba3924 254 allow the linker to generate wrapper code to setup stacks, allocate
frank26080115 0:bf7b9fba3924 255 heap area, and initialize and copy code and data segments. For GNU
frank26080115 0:bf7b9fba3924 256 toolsets, the entry point is through __start() in the crt0_gnu.asm
frank26080115 0:bf7b9fba3924 257 file, and that startup code will setup stacks and data */
frank26080115 0:bf7b9fba3924 258 int main(void)
frank26080115 0:bf7b9fba3924 259 {
frank26080115 0:bf7b9fba3924 260 return c_entry();
frank26080115 0:bf7b9fba3924 261 }
frank26080115 0:bf7b9fba3924 262
frank26080115 0:bf7b9fba3924 263
frank26080115 0:bf7b9fba3924 264 #ifdef DEBUG
frank26080115 0:bf7b9fba3924 265 /*******************************************************************************
frank26080115 0:bf7b9fba3924 266 * @brief Reports the name of the source file and the source line number
frank26080115 0:bf7b9fba3924 267 * where the CHECK_PARAM error has occurred.
frank26080115 0:bf7b9fba3924 268 * @param[in] file Pointer to the source file name
frank26080115 0:bf7b9fba3924 269 * @param[in] line assert_param error line source number
frank26080115 0:bf7b9fba3924 270 * @return None
frank26080115 0:bf7b9fba3924 271 *******************************************************************************/
frank26080115 0:bf7b9fba3924 272 void check_failed(uint8_t *file, uint32_t line)
frank26080115 0:bf7b9fba3924 273 {
frank26080115 0:bf7b9fba3924 274 /* User can add his own implementation to report the file name and line number,
frank26080115 0:bf7b9fba3924 275 ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
frank26080115 0:bf7b9fba3924 276
frank26080115 0:bf7b9fba3924 277 /* Infinite loop */
frank26080115 0:bf7b9fba3924 278 while(1);
frank26080115 0:bf7b9fba3924 279 }
frank26080115 0:bf7b9fba3924 280 #endif
frank26080115 0:bf7b9fba3924 281
frank26080115 0:bf7b9fba3924 282 /*
frank26080115 0:bf7b9fba3924 283 * @}
frank26080115 0:bf7b9fba3924 284 */