#include "ip445.h" /* {+D} SYSTEM: Library Software FILENAME: wcntl445.c MODULE NAME: wcntl445(); - routine that writes the control register on the IP445. VERSION: A CREATION DATE: 05/19/98 DESIGNED BY: BDB CODED BY: BDB ABSTRACT: This module is the routine which writes the control register on the IP445. CALLING SEQUENCE: status = wcntl(map_ptr,value); where: status (long) The returned error status. map_ptr (pointer to structure) Pointer to the board memory map. value (byte) The output value. MODULE TYPE: long I/O RESOURCES: SYSTEM RESOURCES: MODULES CALLED: REVISIONS: DATE BY PURPOSE ------- ---- ------------------------------------------------ {-D} */ long wcntl445(map_ptr, value) struct map445 *map_ptr; /* address of board memory map */ byte value; /* value to write to control register */ { /* ENTRY POINT OF ROUTINE */ output_byte((byte*)&map_ptr->cntl_reg, value); return(0); }