Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.57 KB | None | 0 0
  1. /*
  2.  * relay.h
  3.  *
  4.  *  Created on: 14.09.2018
  5.  *      Author: Paweł Woźny
  6.  */
  7.  
  8. #ifndef RELAY_H_
  9. #define RELAY_H_
  10.  
  11. #include "brdConnector.h"
  12.  
  13. typedef enum{
  14.     Connected,
  15.     ConnectionPossibile,
  16.     UnspecifiedError,
  17.     AlreadyConnected,
  18.     NoFreeRoute,
  19.     UnrecognizedNode
  20. }connection_t;
  21.  
  22.  
  23. /* function checks in LUT availability of given connection */
  24. static connection_t ASSERT_IS_CONNECTION_POSSIBLE(ConnectorPin_t NodeA, ConnectorPin_t NodeB);
  25.  
  26. connection_t connectNodes(ConnectorPin_t NodeA, ConnectorPin_t NodeB);
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. #endif /* RELAY_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement