Home
last modified time | relevance | path

Searched +full:0 +full:x01 +full:- +full:negative (Results 1 – 25 of 78) sorted by relevance

1234

/Zephyr-latest/drivers/display/
Ddisplay_ili9806e_dsi.c4 * SPDX-License-Identifier: Apache-2.0
18 #define ILITEK_ILI9806E_COLMOD_RGB565 0x50
19 #define ILITEK_ILI9806E_COLMOD_RGB888 0x70
39 {.reg = 0xff, .cmd_len = 5, .cmd = {0xFF, 0x98, 0x06, 0x04, 0x01}},
41 {.reg = 0x08, .cmd_len = 1, .cmd = {0x10}},
43 {.reg = 0x21, .cmd_len = 1, .cmd = {0x01}},
45 {.reg = 0x30, .cmd_len = 1, .cmd = {0x01}},
47 {.reg = 0x31, .cmd_len = 1, .cmd = {0x00}},
49 {.reg = 0x40, .cmd_len = 1, .cmd = {0x14}},
50 /* avdd +5.2v,avee-5.2v */
[all …]
/Zephyr-latest/dts/bindings/display/
Dilitek,ili9341.yaml5 # SPDX-License-Identifier: Apache-2.0
11 include: ilitek,ili9xxx-common.yaml
15 type: uint8-array
16 default: [0x40]
21 type: uint8-array
22 default: [0x01, 0x00, 0x00]
27 type: uint8-array
28 default: [0x39, 0x2c, 0x00, 0x34, 0x02]
33 type: uint8-array
34 default: [0x00, 0x8b, 0x30]
[all …]
Dilitek,ili9342c.yaml5 # SPDX-License-Identifier: Apache-2.0
11 include: ilitek,ili9xxx-common.yaml
15 type: uint8-array
16 default: [0x01]
22 type: uint8-array
23 default: [0x40]
28 type: uint8-array
29 default: [0x00]
34 type: uint8-array
35 default: [0x00, 0x1c]
[all …]
Dilitek,ili9340.yaml3 # SPDX-License-Identifier: Apache-2.0
9 include: ilitek,ili9xxx-common.yaml
13 type: uint8-array
14 default: [0x01]
19 type: uint8-array
20 default: [0x00, 0x1b]
25 type: uint8-array
26 default: [0x0a, 0x82, 0x27]
29 default SS bit value (0) may interfere with display rotation.
32 type: uint8-array
[all …]
/Zephyr-latest/samples/subsys/usb/webusb/src/
Dmain.c2 * Copyright (c) 2016-2019 Intel Corporation
5 * SPDX-License-Identifier: Apache-2.0
28 /* random GUID {FA611CC3-7057-42EE-9D82-4919639562B3} */
30 '{', 0x00, 'F', 0x00, 'A', 0x00, '6', 0x00, '1', 0x00, '1', 0x00, \
31 'C', 0x00, 'C', 0x00, '3', 0x00, '-', 0x00, '7', 0x00, '0', 0x00, \
32 '5', 0x00, '7', 0x00, '-', 0x00, '4', 0x00, '2', 0x00, 'E', 0x00, \
33 'E', 0x00, '-', 0x00, '9', 0x00, 'D', 0x00, '8', 0x00, '2', 0x00, \
34 '-', 0x00, '4', 0x00, '9', 0x00, '1', 0x00, '9', 0x00, '6', 0x00, \
35 '3', 0x00, '9', 0x00, '5', 0x00, '6', 0x00, '2', 0x00, 'B', 0x00, \
36 '3', 0x00, '}', 0x00, 0x00, 0x00, 0x00, 0x00
[all …]
Dwebusb.c2 * Copyright (c) 2015-2019 Intel Corporation
4 * SPDX-License-Identifier: Apache-2.0
33 #define WEBUSB_NUM_ITF 0x01
35 #define WEBUSB_NUM_EP 0x02
37 #define WEBUSB_IN_EP_IDX 0
48 .bInterfaceNumber = 0, \
49 .bAlternateSetting = 0, \
52 .bInterfaceSubClass = 0, \
53 .bInterfaceProtocol = 0, \
54 .iInterface = 0, \
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_raw.h8 * SPDX-License-Identifier: Apache-2.0
33 * @return Zero on success or (negative) error code otherwise.
43 BT_HCI_RAW_MODE_PASSTHROUGH = 0x00,
51 BT_HCI_RAW_MODE_H4 = 0x01,
60 * @return Zero on success or (negative) error code otherwise.
72 #define BT_HCI_ERR_EXT_HANDLED 0xff
126 * @return Zero on success or (negative) error code otherwise.
Diso.h8 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
10 * SPDX-License-Identifier: Apache-2.0
20 * @version 0.8.0
46 #define BT_ISO_CHAN_SEND_RESERVE BT_BUF_ISO_SIZE(0)
61 * The BIS indexes start from 0x01, so the lowest allowed bit is
62 * BIT(0) that represents index 0x01. To synchronize to e.g. BIS
63 * indexes 0x01 and 0x02, the bitfield value should be BIT(0) | BIT(1).
64 * As a general notation, to sync to BIS index N use BIT(N - 1).
66 #define BT_ISO_BIS_INDEX_BIT(x) (BIT((x) - 1))
69 #define BT_ISO_DATA_PATH_HCI 0x00
[all …]
/Zephyr-latest/include/zephyr/bluetooth/classic/
Dhfp_ag.h6 * Copyright (c) 2015-2016 Intel Corporation
7 * Copyright 2023-2024 NXP
9 * SPDX-License-Identifier: Apache-2.0
15 * @brief Hands Free Profile - Audio Gateway (HFP-AG)
16 * @defgroup bt_hfp_ag Hands Free Profile - Audio Gateway (HFP-AG)
29 BT_HFP_AG_SERVICE_IND = 0, /* Service availability indicator */
40 #define BT_HFP_AG_CODEC_CVSD 0x01
41 #define BT_HFP_AG_CODEC_MSBC 0x02
42 #define BT_HFP_AG_CODEC_LC3_SWB 0x03
94 * @return 0 in case of success or negative value in case of error.
[all …]
Dclassic.h6 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
36 * @version 1.0.0
75 * Valid range is 0x01 - 0x30.
95 * @param count Number of results in storage. Valid range: 1-255.
98 * of protocol error or negative (POSIX) in case of stack internal error
110 * protocol error or negative (POSIX) in case of stack internal error.
180 * @return Negative if fail set to requested state or requested state has been
194 * @return Negative if fail set to requested state or requested state has been
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dhas.h10 * SPDX-License-Identifier: Apache-2.0
22 * @version 0.8.0
47 #define BT_HAS_PRESET_INDEX_NONE 0x00
49 #define BT_HAS_PRESET_INDEX_FIRST 0x01
51 #define BT_HAS_PRESET_INDEX_LAST 0xFF
68 BT_HAS_HEARING_AID_TYPE_BINAURAL = 0x00,
73 BT_HAS_HEARING_AID_TYPE_MONAURAL = 0x01,
78 BT_HAS_HEARING_AID_TYPE_BANDED = 0x02,
84 BT_HAS_PROP_NONE = 0,
87 BT_HAS_PROP_WRITABLE = BIT(0),
[all …]
Dmedia_proxy.h7 * Copyright (c) 2019 - 2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
21 * @version 0.8.0
66 /** A 32-bit signed parameter. The parameter value depends on the @ref mpl_cmd.opcode */
95 /** Concatenated search control items - (type, length, param) */
102 * All values from -128 to 127 allowed, only some defined
106 #define MEDIA_PROXY_PLAYBACK_SPEED_MIN -128
108 #define MEDIA_PROXY_PLAYBACK_SPEED_QUARTER -128
110 #define MEDIA_PROXY_PLAYBACK_SPEED_HALF -64
112 #define MEDIA_PROXY_PLAYBACK_SPEED_UNITY 0
[all …]
Daics.h7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
21 * @version 0.8.0
50 #define BT_AICS_STATE_UNMUTED 0x00
52 #define BT_AICS_STATE_MUTED 0x01
54 #define BT_AICS_STATE_MUTE_DISABLED 0x02
66 #define BT_AICS_MODE_MANUAL_ONLY 0x00
72 #define BT_AICS_MODE_AUTO_ONLY 0x01
78 #define BT_AICS_MODE_MANUAL 0x02
84 #define BT_AICS_MODE_AUTO 0x03
[all …]
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42.h6 * SPDX-License-Identifier: Apache-2.0
21 #define JC42_REG_CONFIG 0x01
22 #define JC42_REG_UPPER_LIMIT 0x02
23 #define JC42_REG_LOWER_LIMIT 0x03
24 #define JC42_REG_CRITICAL 0x04
25 #define JC42_REG_TEMP_AMB 0x05
29 * * Bit 0 controls alert signal output mode
38 * * Bits 9-10 control threshold hysteresis
40 #define JC42_CFG_ALERT_MODE_INT BIT(0)
46 * * Bits 0..11 encode the temperature in a 2s complement signed value
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dtransport.h4 * SPDX-License-Identifier: Apache-2.0
7 #define TRANS_SEQ_AUTH_NVAL 0xffffffffffffffff
18 #define TRANS_CTL_OP(data) ((data)[0] & TRANS_CTL_OP_MASK)
21 #define TRANS_CTL_OP_ACK 0x00
22 #define TRANS_CTL_OP_FRIEND_POLL 0x01
23 #define TRANS_CTL_OP_FRIEND_UPDATE 0x02
24 #define TRANS_CTL_OP_FRIEND_REQ 0x03
25 #define TRANS_CTL_OP_FRIEND_OFFER 0x04
26 #define TRANS_CTL_OP_FRIEND_CLEAR 0x05
27 #define TRANS_CTL_OP_FRIEND_CLEAR_CFM 0x06
[all …]
/Zephyr-latest/include/zephyr/arch/common/
Dsemihost.h5 * SPDX-License-Identifier: Apache-2.0
8 * https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst
10 * RISC-V semihosting also follows these conventions:
11 * https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc
33 SEMIHOST_OPEN = 0x01,
35 SEMIHOST_ISTTY = 0x09,
37 SEMIHOST_WRITE = 0x05,
39 SEMIHOST_READ = 0x06,
41 SEMIHOST_CLOSE = 0x02,
43 SEMIHOST_FLEN = 0x0C,
[all …]
/Zephyr-latest/include/zephyr/net/
Dmqtt.h4 * SPDX-License-Identifier: Apache-2.0
17 * @version 0.8.0
86 MQTT_VERSION_3_1_0 = 3, /**< Protocol level for 3.1.0. */
95 MQTT_QOS_0_AT_MOST_ONCE = 0x00,
100 MQTT_QOS_1_AT_LEAST_ONCE = 0x01,
106 MQTT_QOS_2_EXACTLY_ONCE = 0x02
112 MQTT_CONNECTION_ACCEPTED = 0x00,
117 MQTT_UNACCEPTABLE_PROTOCOL_VERSION = 0x01,
119 /** The Client identifier is correct UTF-8 but not allowed by the
122 MQTT_IDENTIFIER_REJECTED = 0x02,
[all …]
Dmqtt_sn.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief MQTT-SN Client Implementation
12 * MQTT-SN Client's Application interface is defined in this header.
15 * @defgroup mqtt_sn_socket MQTT-SN Client library
17 * @version 0.1.0
41 * Quality of Service. QoS 0-2 work the same as basic MQTT, QoS -1 is an MQTT-SN addition.
42 * QOS -1 is not supported yet.
45 MQTT_SN_QOS_0, /**< QOS 0 */
48 MQTT_SN_QOS_M1 /**< QOS -1 */
52 * MQTT-SN topic types.
[all …]
/Zephyr-latest/include/zephyr/drivers/
Ddisk.h5 * SPDX-License-Identifier: Apache-2.0
25 * @version 1.0.0
58 /** Deinitialize the disk. This IOCTL can be used to de-initialize the disk,
59 * enabling it to be removed from the system if the disk is hot-pluggable.
62 * `DISK_IOCTL_CTRL_INIT` IOCTL was issued in order to de-initialize it.
76 #define DISK_STATUS_OK 0x00
78 #define DISK_STATUS_UNINIT 0x01
80 #define DISK_STATUS_NOMEDIA 0x02
82 #define DISK_STATUS_WR_PROTECT 0x04
120 * @return 0 on success, negative errno code on fail
[all …]
Dpeci.h4 * SPDX-License-Identifier: Apache-2.0
19 * @version 1.0.0
37 PECI_GENERAL_SENSOR_ERROR = 0x8000,
38 PECI_UNDERFLOW_SENSOR_ERROR = 0x8002,
39 PECI_OVERFLOW_SENSOR_ERROR = 0x8003,
46 PECI_CMD_PING = 0x00,
47 PECI_CMD_GET_TEMP0 = 0x01,
48 PECI_CMD_GET_TEMP1 = 0x02,
49 PECI_CMD_RD_PCI_CFG0 = 0x61,
50 PECI_CMD_RD_PCI_CFG1 = 0x62,
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_max149x6.h5 * SPDX-License-Identifier: Apache-2.0
11 #define MAX149x6_READ 0
14 #define MAX149X6_GET_BIT(val, i) (0x1 & ((val) >> (i)))
26 * @param data - array of data to encode
27 * @param encode - action to be performed - true(encode), false(decode)
32 uint8_t crc5_start = 0x1f; in max149x6_crc()
33 uint8_t crc5_poly = 0x15; in max149x6_crc()
35 uint8_t extra_byte = 0x00; in max149x6_crc()
42 * https://www.analog.com/en/app-notes/how-to-program-the-max14906-quadchannel- in max149x6_crc()
43 * industrial-digital-output-digital-input.html in max149x6_crc()
[all …]
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Dsbs_gauge.h4 * SPDX-License-Identifier: Apache-2.0
14 #define SBS_GAUGE_CMD_MANUFACTURER_ACCESS 0x00 /* ManufacturerAccess */
15 #define SBS_GAUGE_CMD_REM_CAPACITY_ALARM 0x01 /* LowCapacityAlarmThreshold */
16 #define SBS_GAUGE_CMD_REM_TIME_ALARM 0x02 /* RemainingTimeToEmptyThreshold */
17 #define SBS_GAUGE_CMD_BATTERY_MODE 0x03 /* BatteryOperatingMode */
18 #define SBS_GAUGE_CMD_AR 0x04 /* AtRate */
19 #define SBS_GAUGE_CMD_ARTTF 0x05 /* AtRateTimeToFull */
20 #define SBS_GAUGE_CMD_ARTTE 0x06 /* AtRateTimeToEmpty */
21 #define SBS_GAUGE_CMD_AROK 0x07 /* AtRateOK */
22 #define SBS_GAUGE_CMD_TEMP 0x08 /* Temperature */
[all …]
/Zephyr-latest/include/zephyr/bluetooth/services/
Dhrs.h4 * SPDX-License-Identifier: Apache-2.0
31 #define BT_HRS_CONTROL_POINT_RESET_ENERGY_EXPANDED_REQ 0x01
51 * @return 0 on successful handling of control point request
52 * @return -ENOTSUP if not supported. It can be used to pass handling to other
54 * @return other negative error codes will result in immediate error response
70 * @return 0 on success
71 * @return -EINVAL in case @p cb is NULL
81 * @return 0 on success
82 * @return -EINVAL in case @p cb is NULL
83 * @return -ENOENT in case the @p cb was not found in registered callbacks
/Zephyr-latest/include/zephyr/lorawan/
Dlorawan.h4 * SPDX-License-Identifier: Apache-2.0
15 * @version 0.1.0
31 LORAWAN_CLASS_A = 0x00, /**< Class A device */
32 LORAWAN_CLASS_B = 0x01, /**< Class B device */
33 LORAWAN_CLASS_C = 0x02, /**< Class C device */
40 LORAWAN_ACT_OTAA = 0, /**< Over-the-Air Activation (OTAA) */
64 LORAWAN_DR_0 = 0, /**< DR0 data rate */
102 LORAWAN_MSG_UNCONFIRMED = 0, /**< Unconfirmed message */
110 LORAWAN_DATA_PENDING = BIT(0),
115 * @brief LoRaWAN join parameters for over-the-Air activation (OTAA)
[all …]
/Zephyr-latest/include/zephyr/fs/
Dfs.h3 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
24 * @version 1.0.0
35 FS_DIR_ENTRY_FILE = 0,
42 * Zephyr supports in-tree file systems and external ones. Each
46 * in-tree file systems.
55 /** Identifier for in-tree FatFS file system. */
56 FS_FATFS = 0,
58 /** Identifier for in-tree LittleFS file system. */
61 /** Identifier for in-tree Ext2 file system. */
[all …]

1234