Core types and macros for the Raspberry Pi Pico SDK. More...
Enumerations | |
enum | pico_error_codes { PICO_OK = 0 , PICO_ERROR_NONE = 0 , PICO_ERROR_GENERIC = -1 , PICO_ERROR_TIMEOUT = -2 , PICO_ERROR_NO_DATA = -3 , PICO_ERROR_NOT_PERMITTED = -4 , PICO_ERROR_INVALID_ARG = -5 , PICO_ERROR_IO = -6 , PICO_ERROR_BADAUTH = -7 , PICO_ERROR_CONNECT_FAILED = -8 , PICO_ERROR_INSUFFICIENT_RESOURCES = -9 , PICO_ERROR_INVALID_ADDRESS = -10 , PICO_ERROR_BAD_ALIGNMENT = -11 , PICO_ERROR_INVALID_STATE = -12 , PICO_ERROR_BUFFER_TOO_SMALL = -13 , PICO_ERROR_PRECONDITION_NOT_MET = -14 , PICO_ERROR_MODIFIED_DATA = -15 , PICO_ERROR_INVALID_DATA = -16 , PICO_ERROR_NOT_FOUND = -17 , PICO_ERROR_UNSUPPORTED_MODIFICATION = -18 , PICO_ERROR_LOCK_REQUIRED = -19 , PICO_ERROR_VERSION_MISMATCH = -20 , PICO_ERROR_RESOURCE_IN_USE = -21 } |
Common return codes from pico_sdk methods that return a status. More... | |
Core types and macros for the Raspberry Pi Pico SDK.
This header is intended to be included by all source code as it includes configuration headers and overrides in the correct order
This header may be included by assembly code
enum pico_error_codes |
Common return codes from pico_sdk methods that return a status.
All PICO_ERROR_
values are negative so they can be returned from functions that also want to return a zero or positive value on success.
Note these error codes may be returned via bootrom functions too.