Mario Bambagini / ssWi

Dependents:   rover_car rover_pc supervisor watering_unit ... more

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?

UserRevisionLine numberNew 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__