/* ************************************************************** */ /* * Module VCOILPARAM * This module contains functions to assist in parameter handling * for the VCOIL module. * * Zachary Wolf * 10/9/02 */ /* ************************************************************** */ /* INCLUDES */ #include #include "vcoil.h" /* ************************************************************** */ /* PUBLIC FUNCTIONS */ /* ************************************************************** */ /* * vcoilparam_fill_param_struct * This function fills the parameter structure using # defined * parameters. * * Zachary Wolf * 10/9/02 */ void vcoilparam_fill_param_struct(struct vcoil_param_struct* vcoil_param) { /* Include parameter definitions */ #include "param.h" /* Set the VCOIL parameters */ vcoil_param->board_addr = VCOIL_BOARD_ADDR; vcoil_param->sr850_addr = VCOIL_SR850_ADDR; vcoil_param->device_type = VCOIL_DEVICE_TYPE; /* Done */ return; }