Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * relay.h
- *
- * Created on: 14.09.2018
- * Author: Paweł Woźny
- */
- #ifndef RELAY_H_
- #define RELAY_H_
- #include "brdConnector.h"
- typedef enum{
- Connected,
- ConnectionPossibile,
- UnspecifiedError,
- AlreadyConnected,
- NoFreeRoute,
- UnrecognizedNode
- }connection_t;
- /* function checks in LUT availability of given connection */
- static connection_t ASSERT_IS_CONNECTION_POSSIBLE(ConnectorPin_t NodeA, ConnectorPin_t NodeB);
- connection_t connectNodes(ConnectorPin_t NodeA, ConnectorPin_t NodeB);
- #endif /* RELAY_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement