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.
Dependents: rover_car rover_pc supervisor watering_unit ... more
ssWiTypes.hpp@25:83172a067b57, 2020-04-21 (annotated)
- Committer:
- mariob
- Date:
- Tue Apr 21 08:23:47 2020 +0000
- Revision:
- 25:83172a067b57
- Parent:
- 15:fb0f6cbc0ed5
added comments
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mariob | 15:fb0f6cbc0ed5 | 1 | /** \file ssWiTypes.hpp |
| mariob | 15:fb0f6cbc0ed5 | 2 | * \brief type definition file |
| mariob | 15:fb0f6cbc0ed5 | 3 | */ |
| mariob | 15:fb0f6cbc0ed5 | 4 | |
| mariob | 15:fb0f6cbc0ed5 | 5 | #ifndef __SHARED_SLOTTED_TYPES_HPP__ |
| mariob | 15:fb0f6cbc0ed5 | 6 | #define __SHARED_SLOTTED_TYPES_HPP__ |
| mariob | 15:fb0f6cbc0ed5 | 7 | |
| mariob | 25:83172a067b57 | 8 | /** \brief type of the port identifier |
| mariob | 25:83172a067b57 | 9 | * |
| mariob | 25:83172a067b57 | 10 | * it must be one byte only |
| mariob | 15:fb0f6cbc0ed5 | 11 | */ |
| mariob | 15:fb0f6cbc0ed5 | 12 | typedef char PortID; |
| mariob | 15:fb0f6cbc0ed5 | 13 | |
| mariob | 15:fb0f6cbc0ed5 | 14 | /** \brief type of the Value exchanged through the port |
| mariob | 25:83172a067b57 | 15 | * |
| mariob | 25:83172a067b57 | 16 | * it must be a type that can be used with std::atomic |
| mariob | 15:fb0f6cbc0ed5 | 17 | */ |
| mariob | 15:fb0f6cbc0ed5 | 18 | typedef int PortValue; |
| mariob | 15:fb0f6cbc0ed5 | 19 | |
| mariob | 15:fb0f6cbc0ed5 | 20 | #endif //__SHARED_SLOTTED_TYPES_HPP__ |