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 MCP23017 WattBob_TextLCD mbed-rtos
carStructure Struct Reference
This structure is the main structure used by the program in order not to use global variables. More...
#include <my_structures.h>
Detailed Description
This structure is the main structure used by the program in order not to use global variables.
It is given as argument to every function used in the different RTOSTimer.
- Parameters:
-
System Inputs [AnalogIn/DigitalIn] Set of system inputs used by the system for the assignment. System Outpus [AnalogOut/DigitalOut] Set of system outputs used by the system for the assignment. Structures [engineRAWValues/carStatistics] Two smaller structures used to organized values used by the different tasks of the assigment. *p_mailQueue Mail Queue object, from "rtos.h". It uses a mailStruct structure to store information. nbElementInQueue [int] Number of element in the queue. Necessary in order to dump the mail by another task and because there is no method to get the number of element stored in the mail queue. Mutex [Mutex] Set of three mutex to protect the access of the engineRAWValues and carStatistics structures, as well as the mail queue object. *p_PC [Serial] Serial connection to the PC Screen Variables [MCP23017/WattBob_TextLCD] Used to access the screen of the MBED shield.
Definition at line 117 of file my_structures.h.
Generated on Wed Jul 13 2022 17:41:33 by
1.7.2