daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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_ */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top