SparkFun Toolkit  v1.0.5-6-g34ffa30
Core Functionality Library
Loading...
Searching...
No Matches
sfTkError.h
Go to the documentation of this file.
1
14#pragma once
15
16#include <stdint.h>
17
35typedef int32_t sfTkError_t;
36
37// General errors
38
42const sfTkError_t ksfTkErrFail = -1; // general fail
46const sfTkError_t ksfTkErrOk = 0; // success
47
51const sfTkError_t ksfTkErrInvalidParam = -2; // invalid parameter error
52
const sfTkError_t ksfTkErrBaseBus
A base value for bus errors. All bus errors are greater than this value, in the 1000 range.
Definition: sfTkError.h:56
const sfTkError_t ksfTkErrInvalidParam
Invalid parameter error.
Definition: sfTkError.h:51
const sfTkError_t ksfTkErrOk
The error code value for success. This is always 0.
Definition: sfTkError.h:46
int32_t sfTkError_t
Definition: sfTkError.h:35
const sfTkError_t ksfTkErrFail
General error code for a failure. Note all errors are negative.
Definition: sfTkError.h:42