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.
Dependencies: mbed
Diff: inc/th_rtz.h
- Revision:
- 52:2b3b194144da
- Parent:
- 51:abe8a392d50b
--- a/inc/th_rtz.h Wed Mar 13 19:10:40 2019 +0000 +++ b/inc/th_rtz.h Thu Mar 14 00:21:35 2019 +0000 @@ -31,19 +31,26 @@ #include <string> -void Mstr_Rx1_riseIRQ(void); +extern volatile bool pulseReady; -void Mstr_Rx1_fallIRQ(void); +extern bool slave1; //New for 1U5 +extern bool slave2; //New for 1U5 + +#define RX_TIMEOUT 1000 -void initFibers(void); +void Slave_Init(void); + +void Slave_Rx_riseIRQ(void); -void getOCLResponse(string &oclResponse); +void Slave_Rx_fallIRQ(void); + +unsigned short Slave_RXstr(void); void sendPreamble(void); -void sendMstr_one(void); +void sendMstr_one(unsigned short); -void sendMstr_zero(void); +void sendMstr_zero(unsigned short); void sendByte(unsigned short slaveNum, char data_byte);