Show
Ignore:
Timestamp:
08/15/08 19:25:11 (5 months ago)
Author:
David Anderson <dave@…>
Branch:
default
Message:

Make nx_rs485_shutdown only work when the driver is idle.

Shutting down the driver while a communication is in progress is now a
programming error.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nxos/base/drivers/rs485.h

    r628 r629  
    4848 * @note Once the RS485 interface is shut down, port 4 may be used as a 
    4949 * normal sensor port again. 
     50 * 
     51 * @warning The RS485 driver should only be shutdown after all 
     52 * in-progress transmissions have completed. 
    5053 */ 
    51 bool nx_rs485_stop(void); 
     54void nx_rs485_shutdown(void); 
    5255 
    5356/** Asynchronously transmit data on the RS485 bus.