master/ethernet.c
changeset 235 f973808540a6
parent 219 7572c5bf7bb3
child 246 0bf7c769de06
equal deleted inserted replaced
234:fd04cfde1c4b 235:f973808540a6
   261 }
   261 }
   262 
   262 
   263 /*****************************************************************************/
   263 /*****************************************************************************/
   264 
   264 
   265 /**
   265 /**
       
   266    Returns the state of the device.
       
   267    \return 1 if the device is "up", 0 if it is "down"
       
   268 */
       
   269 
       
   270 unsigned int ec_eoe_active(const ec_eoe_t *eoe /**< EoE object */)
       
   271 {
       
   272     return eoe->opened;
       
   273 }
       
   274 
       
   275 /*****************************************************************************/
       
   276 
       
   277 /**
   266    Prints EoE object information.
   278    Prints EoE object information.
   267 */
   279 */
   268 
   280 
   269 void ec_eoe_print(const ec_eoe_t *eoe /**< EoE object */)
   281 void ec_eoe_print(const ec_eoe_t *eoe /**< EoE object */)
   270 {
   282 {