Concept code which launches two threads, one of which implements a Modbus Tunnel protocol to talk with an ISEM, the other which launches a Modbus RTU protocol to talk to a CPUM (most of the Modbus code has been removed prior to publishing.) A canned AC and DC spectra is provided to display wave forms on start-up however the project normally polls for spectra from the ISEM and then plots is (that functionality has been removed prior to publishing.)

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI

/media/uploads/Damotclese/img_20190530_100915.jpg

Plot of the initial start-up canned AC and DC spectra.

Committer:
Damotclese
Date:
Fri May 31 22:43:55 2019 +0000
Revision:
2:346119b3db6c
Parent:
0:387684ec9d92
Final concept code update, no further updates are expected;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Damotclese 0:387684ec9d92 1
Damotclese 0:387684ec9d92 2 // ----------------------------------------------------------------------
Damotclese 0:387684ec9d92 3 // NextGen-Exerciser-Defines.h
Damotclese 0:387684ec9d92 4 //
Damotclese 0:387684ec9d92 5 // Fredric L. Rice, May 2019
Damotclese 0:387684ec9d92 6 //
Damotclese 0:387684ec9d92 7 // ----------------------------------------------------------------------
Damotclese 0:387684ec9d92 8
Damotclese 0:387684ec9d92 9 // Normally for mbed projects we would use "true" and "false"
Damotclese 0:387684ec9d92 10 // lower case however we define TUE and FALSE as well
Damotclese 0:387684ec9d92 11 #ifndef TRUE
Damotclese 0:387684ec9d92 12 #define TRUE true
Damotclese 0:387684ec9d92 13 #endif
Damotclese 0:387684ec9d92 14 #ifndef FALSE
Damotclese 0:387684ec9d92 15 #define FALSE false
Damotclese 0:387684ec9d92 16 #endif
Damotclese 0:387684ec9d92 17
Damotclese 0:387684ec9d92 18 // ----------------------------------------------------------------------
Damotclese 0:387684ec9d92 19 // Messages passed to threads via their mailbox objects look like this.
Damotclese 0:387684ec9d92 20 //
Damotclese 0:387684ec9d92 21 // ----------------------------------------------------------------------
Damotclese 0:387684ec9d92 22
Damotclese 0:387684ec9d92 23 typedef struct
Damotclese 0:387684ec9d92 24 {
Damotclese 0:387684ec9d92 25 unsigned char ach_message[512];
Damotclese 0:387684ec9d92 26 unsigned short u16_size;
Damotclese 0:387684ec9d92 27 } st_pendingMessage;
Damotclese 0:387684ec9d92 28
Damotclese 0:387684ec9d92 29 // End of file