This program displays heart rate and time between heart beats on LCD, prints it to a USB serial port, print it to a bluetooth serial port and store it on a USB mass storage device. The program has two interrupt routines: 1.Every 1ms a counter is increased with one, 2. On every heart beat the counter is value copied. In the main loop the beats per minute are calculated. Ext.Modules:- Polar RMCM-01 heart rate module connected to pin8. - 2x16 LCD - a RF-BT0417CB bluetooth serial device connected to p27 and p28 - an USB mass storage device

Dependencies:   TextLCD mbed

USBHostLite/usbhost_cpu.h

Committer:
jrsikken
Date:
2011-01-04
Revision:
2:e660e68a91fa
Parent:
1:8b001f936bb0

File content as of revision 2:e660e68a91fa:

/*
**************************************************************************************************************
*                                                 NXP USB Host Stack
*
*                                     (c) Copyright 2008, NXP SemiConductors
*                                     (c) Copyright 2008, OnChip  Technologies LLC
*                                                 All Rights Reserved
*
*                                                  www.nxp.com
*                                               www.onchiptech.com
*
* File           : usbhost_cpu.h
* Programmer(s)  : Ravikanth.P
* Version        :
*
**************************************************************************************************************
*/

#ifndef  USBHOST_CPU_H
#define  USBHOST_CPU_H

/*
**************************************************************************************************************
*                                           TYPE DEFINITIONS OF DATA TYPES
**************************************************************************************************************
*/

typedef  unsigned int    USB_INT32U;
typedef  signed   int    USB_INT32S;
typedef  unsigned short  USB_INT16U;
typedef  signed   short  USB_INT16S;
typedef  unsigned char   USB_INT08U;
typedef  signed   char   USB_INT08S;

#endif