esp32s2_bare_board/managed_components/cherry-embedded__cherryusb/common/usb_errno.h
impressionyang b0e0ddebf4 feat: 修改u8g2移植配置中的I2C速率至400KHz
feat: 添加线程资源打印功能
fix🐛: 修复USB未启用其他线程卡死问题,是USB写入循环阻塞所致
feat: 升级cherryUSB,使用官方方式集成至ESP32
2025-03-22 16:56:52 +08:00

25 lines
531 B
C

/*
* Copyright (c) 2023, sakumisu
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef USB_ERRNO_H
#define USB_ERRNO_H
#define USB_ERR_NOMEM 1
#define USB_ERR_INVAL 2
#define USB_ERR_NODEV 3
#define USB_ERR_NOTCONN 4
#define USB_ERR_NOTSUPP 5
#define USB_ERR_BUSY 6
#define USB_ERR_RANGE 7
#define USB_ERR_STALL 8
#define USB_ERR_BABBLE 9
#define USB_ERR_NAK 10
#define USB_ERR_DT 11
#define USB_ERR_IO 12
#define USB_ERR_SHUTDOWN 13
#define USB_ERR_TIMEOUT 14
#endif /* USB_ERRNO_H */