Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102412204
load_cell.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
Thu, Feb 20, 11:18
Size
656 B
Mime Type
text/x-c
Expires
Sat, Feb 22, 11:18 (2 d)
Engine
blob
Format
Raw Data
Handle
24351554
Attached To
R6619 Oncilla Motordriver Firmware
load_cell.h
View Options
/*
* File: load_cell.h
* Author: jonas
*
* Created on March 26, 2013, 11:07 AM
*/
#ifndef LOAD_CELL_H
#define LOAD_CELL_H
#include <gpio.h>
#include <libpic30.h>
struct
load_cell
;
typedef
struct
load_cell
load_cell
;
void
init_load_cells
();
void
load_cell_reset
();
void
load_cell_process
();
void
load_cell_start_reading
();
void
lc_load_persistent_sbcp_settings
();
typedef
enum
lc_error_flags
{
LC_F_OK
=
0
,
LC_F_ONBOARD_PROCESSING_UNFINISHED
=
1
}
lc_error_flags
;
int
lc_get_torque
(
load_cell
*
e
);
lc_error_flags
lc_get_error
(
load_cell
*
e
);
extern
load_cell
*
lc1
,
*
lc2
,
*
lc3
;
#endif
/* LOAD_CELL_H */
Event Timeline
Log In to Comment