Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F85803883
command.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Oct 2, 05:40
Size
2 KB
Mime Type
text/x-c
Expires
Fri, Oct 4, 05:40 (2 d)
Engine
blob
Format
Raw Data
Handle
21273089
Attached To
R6619 Oncilla Motordriver Firmware
command.h
View Options
/*
command.h
Copyright (C) 2011 Rico Moeckel <rico.moeckel at epfl dot ch>,
Michiel D'Haene <michiel.dhaene at gmail dot com>,
EPFL Biorobotics Laboratory (http://biorob.epfl.ch)
EPFL Ecole Polytechnique Federale de Lausanne (http://www.epfl.ch)
CSL Reservoir Lab ()
Ghent University (http://www.ugent.be)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** \addtogroup command */
/*@{*/
/** \file command.h
\brief Command handling.
This file contains the declarations of all command functions - functions that can
be automatically called by the SBCP protocol. These functions must be according to
the typedef tSbcpCmdFunc in file sbcp.h.
\author Rico Moeckel, Michiel D'Haene
\version 1.0
\date 2011-04-14
*/
#ifndef __COMMAND_H__
#define __COMMAND_H__
#include "misc.h"
/*************************************************************************
*
* PUBLIC FUNCTIONS
*
*************************************************************************/
//void init_message_frame(void);
//void sbcp_bus_send_empty_response_message(unsigned char error_code);
//unsigned int sbcp_bus_update_frame_for_standard_response_message(unsigned char payload_length);
void
command_firmware
(
const
unsigned
int
*
buffer
);
void
command_help
(
const
unsigned
int
*
buffer
);
void
command_set_protection
(
const
unsigned
int
*
buffer
);
void
command_calibrate
(
const
unsigned
int
*
buffer
);
void
command_set_parameters
(
const
unsigned
int
*
buffer
);
void
command_get_parameters
(
const
unsigned
int
*
buffer
);
uint8
check_for_action
(
unsigned
char
address
);
#endif
/* __COMMAND_H__ */
/*@}*/
Event Timeline
Log In to Comment