A-3. Function Declarations (LC.H)
U3-1021 A-4 2/99
Westinghouse Proprietary Class 2C
A-3. Function Declarations (LC.H)
The following header file contains data structure and function declarations for the
example functions in
Section A-2.
typedef struct
{
int status;
float ireal;
} format2; /* real with status */
int get_fm0(int reg);
void str_fm0(int reg, int value);
/* get integer value
/* store integer value
*/
*/
float get_fm1(int reg);
void str_fm1(int reg, float value);
/* get real value
/* store real value
*/
*/
format2 get_fm2(int reg);
void str_fm2(int reg, format2 value);
/* get real w/ status
/* store real w/ status
*/
*/
int lc_stat(); /* read LC status */
int lc_led(char status); /* set LEDs */
void string_out ( char *str ); /* write to dumb terminal */