/* ************************************************************** */ /* * Module BNMRPARAM * This module contains functions to assist in parameter handling * for the BNMR module. * * Zachary Wolf * 1/27/03 */ /* ************************************************************** */ /* INCLUDES */ #include #include "bnmr.h" /* ************************************************************** */ /* PUBLIC FUNCTIONS */ /* ************************************************************** */ /* * bnmrparam_fill_param_struct * This function fills the parameter structure using # defined * parameters. * * Zachary Wolf * 1/27/03 */ void bnmrparam_fill_param_struct(struct bnmr_param_struct* bnmr_param) { /* Include parameter definitions */ #include "param.h" /* Set the BNMR parameters */ bnmr_param->board_addr = BNMR_BOARD_ADDR; bnmr_param->pt2025_addr = BNMR_PT2025_ADDR; bnmr_param->device_type = BNMR_DEVICE_TYPE; bnmr_param->pt2025_chan = BNMR_PT2025_CHAN; bnmr_param->pt2025_probe_num = BNMR_PT2025_PROBE_NUM; bnmr_param->field_dir = BNMR_FIELD_DIR; bnmr_param->nom_field = BNMR_NOM_FIELD; /* Done */ return; }