Port of Keils USBCDC example, compiles ok. Gets stuck at init

Dependencies:   mbed

Committer:
tecnosys
Date:
Mon Jul 05 10:16:57 2010 +0000
Revision:
0:0b777ff85deb

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tecnosys 0:0b777ff85deb 1 /*----------------------------------------------------------------------------
tecnosys 0:0b777ff85deb 2 * Name: serial.h
tecnosys 0:0b777ff85deb 3 * Purpose: serial port handling
tecnosys 0:0b777ff85deb 4 * Version: V1.10
tecnosys 0:0b777ff85deb 5 *----------------------------------------------------------------------------
tecnosys 0:0b777ff85deb 6 * This software is supplied "AS IS" without any warranties, express,
tecnosys 0:0b777ff85deb 7 * implied or statutory, including but not limited to the implied
tecnosys 0:0b777ff85deb 8 * warranties of fitness for purpose, satisfactory quality and
tecnosys 0:0b777ff85deb 9 * noninfringement. Keil extends you a royalty-free right to reproduce
tecnosys 0:0b777ff85deb 10 * and distribute executable files created using this software for use
tecnosys 0:0b777ff85deb 11 * on NXP Semiconductors LPC microcontroller devices only. Nothing else
tecnosys 0:0b777ff85deb 12 * gives you the right to use this software.
tecnosys 0:0b777ff85deb 13 *
tecnosys 0:0b777ff85deb 14 * Copyright (c) 2009 Keil - An ARM Company. All rights reserved.
tecnosys 0:0b777ff85deb 15 *---------------------------------------------------------------------------*/
tecnosys 0:0b777ff85deb 16
tecnosys 0:0b777ff85deb 17 #define PORT_NUM 1
tecnosys 0:0b777ff85deb 18
tecnosys 0:0b777ff85deb 19 /*----------------------------------------------------------------------------
tecnosys 0:0b777ff85deb 20 Serial interface related prototypes
tecnosys 0:0b777ff85deb 21 *---------------------------------------------------------------------------*/
tecnosys 0:0b777ff85deb 22 extern void ser_OpenPort (char portNum);
tecnosys 0:0b777ff85deb 23 extern void ser_ClosePort (char portNum);
tecnosys 0:0b777ff85deb 24 extern void ser_InitPort0 (unsigned long baudrate, unsigned int databits, unsigned int parity, unsigned int stopbits);
tecnosys 0:0b777ff85deb 25 extern void ser_InitPort1 (unsigned long baudrate, unsigned int databits, unsigned int parity, unsigned int stopbits);
tecnosys 0:0b777ff85deb 26 extern void ser_AvailChar (int *availChar);
tecnosys 0:0b777ff85deb 27 extern int ser_Write (char portNum, const char *buffer, int *length);
tecnosys 0:0b777ff85deb 28 extern int ser_Read (char *buffer, const int *length);
tecnosys 0:0b777ff85deb 29 extern void ser_LineState (unsigned short *lineState);
tecnosys 0:0b777ff85deb 30