/* ************************************************************** */ /* * Module BTCOILPARAM * This module contains functions to assist in parameter handling * for the BTCOIL module. * * Zachary Wolf * 2/3/00 */ /* ************************************************************** */ /* INCLUDES */ #include #include "btcoil.h" /* ************************************************************** */ /* PUBLIC FUNCTIONS */ /* ************************************************************** */ /* * btcoilparam_fill_param_struct * This function fills the parameter structure using # defined * parameters. * * Zachary Wolf * 2/3/00 */ void btcoilparam_fill_param_struct(struct btcoil_param_struct* btcoil_param) { /* Include parameter definitions */ #include "param.h" /* Set the BTCOIL parameters */ btcoil_param->board_addr = BTCOIL_BOARD_ADDR; btcoil_param->sr850_addr = BTCOIL_SR850_ADDR; btcoil_param->device_type = BTCOIL_DEVICE_TYPE; btcoil_param->coil_constant = BTCOIL_COIL_CONSTANT; /* Done */ return; }