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
inc/th_rtz.h@51:abe8a392d50b, 2019-03-13 (annotated)
- Committer:
- Slord2142
- Date:
- Wed Mar 13 19:10:40 2019 +0000
- Revision:
- 51:abe8a392d50b
- Child:
- 52:2b3b194144da
Patched new code from Rich
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Slord2142 | 51:abe8a392d50b | 1 | //------------------------------------------------------------------------------- |
Slord2142 | 51:abe8a392d50b | 2 | // |
Slord2142 | 51:abe8a392d50b | 3 | // Treehouse Designs Inc. |
Slord2142 | 51:abe8a392d50b | 4 | // Colorado Springs, Colorado |
Slord2142 | 51:abe8a392d50b | 5 | // |
Slord2142 | 51:abe8a392d50b | 6 | // Copyright (c) 2016 by Treehouse Designs Inc. |
Slord2142 | 51:abe8a392d50b | 7 | // Copyright (c) 2018 by Agility Power Systems Inc. |
Slord2142 | 51:abe8a392d50b | 8 | // |
Slord2142 | 51:abe8a392d50b | 9 | // This code is the property of Treehouse Designs, Inc. (Treehouse) and |
Slord2142 | 51:abe8a392d50b | 10 | // Agility Power Systems Inc. (Agility) and may not be redistributed |
Slord2142 | 51:abe8a392d50b | 11 | // in any form without prior written permission from |
Slord2142 | 51:abe8a392d50b | 12 | // both copyright holders, Treehouse and Agility. |
Slord2142 | 51:abe8a392d50b | 13 | // |
Slord2142 | 51:abe8a392d50b | 14 | // The above copyright notice and this permission notice shall be included in |
Slord2142 | 51:abe8a392d50b | 15 | // all copies or substantial portions of the Software. |
Slord2142 | 51:abe8a392d50b | 16 | // |
Slord2142 | 51:abe8a392d50b | 17 | // |
Slord2142 | 51:abe8a392d50b | 18 | //------------------------------------------------------------------------------- |
Slord2142 | 51:abe8a392d50b | 19 | // |
Slord2142 | 51:abe8a392d50b | 20 | // REVISION HISTORY: |
Slord2142 | 51:abe8a392d50b | 21 | // |
Slord2142 | 51:abe8a392d50b | 22 | // $Author: $ |
Slord2142 | 51:abe8a392d50b | 23 | // $Rev: $ |
Slord2142 | 51:abe8a392d50b | 24 | // $Date: $ |
Slord2142 | 51:abe8a392d50b | 25 | // $URL: $ |
Slord2142 | 51:abe8a392d50b | 26 | // |
Slord2142 | 51:abe8a392d50b | 27 | //------------------------------------------------------------------------------- |
Slord2142 | 51:abe8a392d50b | 28 | |
Slord2142 | 51:abe8a392d50b | 29 | #ifndef OCL_H_ // Include guards |
Slord2142 | 51:abe8a392d50b | 30 | #define OCL_H_ |
Slord2142 | 51:abe8a392d50b | 31 | |
Slord2142 | 51:abe8a392d50b | 32 | #include <string> |
Slord2142 | 51:abe8a392d50b | 33 | |
Slord2142 | 51:abe8a392d50b | 34 | void Mstr_Rx1_riseIRQ(void); |
Slord2142 | 51:abe8a392d50b | 35 | |
Slord2142 | 51:abe8a392d50b | 36 | void Mstr_Rx1_fallIRQ(void); |
Slord2142 | 51:abe8a392d50b | 37 | |
Slord2142 | 51:abe8a392d50b | 38 | void initFibers(void); |
Slord2142 | 51:abe8a392d50b | 39 | |
Slord2142 | 51:abe8a392d50b | 40 | void getOCLResponse(string &oclResponse); |
Slord2142 | 51:abe8a392d50b | 41 | |
Slord2142 | 51:abe8a392d50b | 42 | void sendPreamble(void); |
Slord2142 | 51:abe8a392d50b | 43 | |
Slord2142 | 51:abe8a392d50b | 44 | void sendMstr_one(void); |
Slord2142 | 51:abe8a392d50b | 45 | |
Slord2142 | 51:abe8a392d50b | 46 | void sendMstr_zero(void); |
Slord2142 | 51:abe8a392d50b | 47 | |
Slord2142 | 51:abe8a392d50b | 48 | void sendByte(unsigned short slaveNum, char data_byte); |
Slord2142 | 51:abe8a392d50b | 49 | |
Slord2142 | 51:abe8a392d50b | 50 | #endif // OCL_H_ |