libjoybus
Joybus implementation for 32-bit MCUs
Loading...
Searching...
No Matches
errors.h
1
6
#pragma once
7
16
enum
joybus_error
{
18
JOYBUS_ERR_DISABLED
= 1,
19
21
JOYBUS_ERR_BUSY
,
22
24
JOYBUS_ERR_TIMEOUT
,
25
27
JOYBUS_ERR_NOT_SUPPORTED
,
28
30
JOYBUS_ERR_CHECKSUM
,
31
33
JOYBUS_ERR_NO_DEVICE
,
34
};
35
joybus_error
joybus_error
Joybus error codes.
Definition
errors.h:16
JOYBUS_ERR_TIMEOUT
@ JOYBUS_ERR_TIMEOUT
Transfer timed out.
Definition
errors.h:24
JOYBUS_ERR_NOT_SUPPORTED
@ JOYBUS_ERR_NOT_SUPPORTED
Command not supported by Joybus target.
Definition
errors.h:27
JOYBUS_ERR_DISABLED
@ JOYBUS_ERR_DISABLED
Bus not enabled.
Definition
errors.h:18
JOYBUS_ERR_BUSY
@ JOYBUS_ERR_BUSY
Bus is busy with another operation.
Definition
errors.h:21
JOYBUS_ERR_NO_DEVICE
@ JOYBUS_ERR_NO_DEVICE
Expected device not detected.
Definition
errors.h:33
JOYBUS_ERR_CHECKSUM
@ JOYBUS_ERR_CHECKSUM
Checksum error.
Definition
errors.h:30
include
joybus
errors.h
Generated by
1.14.0