/* ************************************************************** */ /* * Module BHALLPARAM * This module contains functions to assist in parameter handling * for the BHALL module. * * Zachary Wolf * 1/28/00 */ /* ************************************************************** */ /* INCLUDES */ #include #include "bhall.h" /* ************************************************************** */ /* PUBLIC FUNCTIONS */ /* ************************************************************** */ /* * bhallparam_fill_param_struct * This function fills the parameter structure using # defined * parameters. * * Zachary Wolf * 1/28/00 */ void bhallparam_fill_param_struct(struct bhall_param_struct* bhall_param) { /* Include parameter definitions */ #include "param.h" /* Set the BHALL parameters */ bhall_param->board_addr = BHALL_BOARD_ADDR; bhall_param->b9900_addr = BHALL_B9900_ADDR; bhall_param->gp3_addr = BHALL_GP3_ADDR; bhall_param->ls450_addr = BHALL_LS450_ADDR; bhall_param->device_type = BHALL_DEVICE_TYPE; bhall_param->b9900_chan = BHALL_B9900_CHAN; /* Done */ return; }