error.h
1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_ERROR_H
8#define _PICO_ERROR_H
9
10#ifndef __ASSEMBLER__
11
15enum {
16 PICO_OK = 0,
17 PICO_ERROR_NONE = 0,
18 PICO_ERROR_TIMEOUT = -1,
19 PICO_ERROR_GENERIC = -2,
20 PICO_ERROR_NO_DATA = -3,
21};
22
23#endif // !__ASSEMBLER__
24
25#endif