Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Pacemaker by
pulsegenerator.h
- Committer:
- kieftea
- Date:
- 2016-12-19
- Revision:
- 6:d71e30291a62
- Parent:
- 1:8f545f45d899
File content as of revision 6:d71e30291a62:
#ifndef pulsegenerator__H
#define pulsegenerator__H
#include "Param.h"
#include "pinmap.h"
#include "rtos.h"
#include "serial.h"
#include <time.h>
/******************************************
* Setup the pulse generator on device startup
* Drives pulse output pins to safe values
*/
void pulsegenerator_initialize ();
/******************************************
* Set the current pace period
* Inputs: new_pace_period_ms - the pace period to switch to
* Returns: The previous pace period
*/
uint32_t set_pace_period_ms(uint32_t new_pace_period_ms);
/******************************************
* Initiates pacing. Returns immediately
*/
void begin_pace ();
void serialCheck(string check);
void egramSend(void);
#endif
