Home
last modified time | relevance | path

Searched full:byte (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/Zephyr-latest/samples/userspace/shared_mem/src/
Denc.h16 #ifndef BYTE
17 #define BYTE unsigned char macro
23 int calc_rev_wheel(BYTE *wheel, BYTE *backpath);
26 extern volatile BYTE W1[26];
27 extern volatile BYTE W2[26];
28 extern volatile BYTE W3[26];
29 extern volatile BYTE R[26];
30 extern volatile BYTE W1R[26];
31 extern volatile BYTE W2R[26];
32 extern volatile BYTE W3R[26];
Dmain.c41 volatile _app_red_b BYTE fBUFIN;
42 volatile _app_red_b BYTE BUFIN[63];
44 volatile _app_blk_b BYTE fBUFOUT;
45 volatile _app_blk_b BYTE BUFOUT[63];
50 volatile _app_enc_d BYTE W1[26] = START_WHEEL;
52 volatile _app_enc_d BYTE W1[26] = START_WHEEL2;
54 volatile _app_enc_d BYTE W2[26] = START_WHEEL;
55 volatile _app_enc_d BYTE W3[26] = START_WHEEL;
56 volatile _app_enc_d BYTE R[26] = REFLECT;
66 volatile _app_enc_b BYTE W1R[26];
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/lldp/
DKconfig74 hex "Chassis ID MAC Address Byte 0"
78 Byte 0 of the MAC address.
81 hex "Chassis ID MAC Address Byte 1"
85 Byte 1 of the MAC address.
88 hex "Chassis ID MAC Address Byte 2"
92 Byte 2 of the MAC address.
95 hex "Chassis ID MAC Address Byte 3"
99 Byte 3 of the MAC address.
102 hex "Chassis ID MAC Address Byte 4"
106 Byte 4 of the MAC address.
[all …]
/Zephyr-latest/drivers/display/
Dssd1306_regs.h15 /* The next byte will contain a command */
17 /* The next byte will contain data */
26 #define SSD1306_SET_CONTRAST_CTRL 0x81 /* double byte command */
48 #define SSD1306_SET_MEM_ADDRESSING_MODE 0x20 /* double byte command */
53 #define SSD1306_SET_COLUMN_ADDRESS 0x21 /* triple byte command */
55 #define SSD1306_SET_PAGE_ADDRESS 0x22 /* triple byte command */
70 #define SSD1306_SET_MULTIPLEX_RATIO 0xa8 /* double byte command */
75 #define SSD1306_SET_DISPLAY_OFFSET 0xd3 /* double byte command */
77 #define SSD1306_SET_PADS_HW_CONFIG 0xda /* double byte command */
89 #define SSD1306_SET_CLOCK_DIV_RATIO 0xd5 /* double byte command */
[all …]
/Zephyr-latest/subsys/modem/
Dmodem_ppp.c22 static uint16_t modem_ppp_fcs_init(uint8_t byte) in modem_ppp_fcs_init() argument
24 return crc16_ccitt(0xFFFF, &byte, 1); in modem_ppp_fcs_init()
27 static uint16_t modem_ppp_fcs_update(uint16_t fcs, uint8_t byte) in modem_ppp_fcs_update() argument
29 return crc16_ccitt(fcs, &byte, 1); in modem_ppp_fcs_update()
53 uint8_t byte; in modem_ppp_wrap_net_pkt_byte() local
88 byte = (ppp->tx_pkt_protocol >> 8) & 0xFF; in modem_ppp_wrap_net_pkt_byte()
89 ppp->tx_pkt_fcs = modem_ppp_fcs_update(ppp->tx_pkt_fcs, byte); in modem_ppp_wrap_net_pkt_byte()
91 if ((byte == MODEM_PPP_CODE_DELIMITER) || (byte == MODEM_PPP_CODE_ESCAPE) || in modem_ppp_wrap_net_pkt_byte()
92 (byte < MODEM_PPP_VALUE_ESCAPE)) { in modem_ppp_wrap_net_pkt_byte()
93 ppp->tx_pkt_escaped = byte ^ MODEM_PPP_VALUE_ESCAPE; in modem_ppp_wrap_net_pkt_byte()
[all …]
/Zephyr-latest/drivers/ieee802154/
DKconfig.uart_pipe28 hex "MAC Address Byte 4"
32 This is the byte 4 of the MAC address.
35 hex "MAC Address Byte 5"
39 This is the byte 5 of the MAC address.
42 hex "MAC Address Byte 6"
46 This is the byte 6 of the MAC address.
49 hex "MAC Address Byte 7"
53 This is the byte 7 of the MAC address.
DKconfig.b9142 hex "MAC Address Byte 4"
46 This is the byte 4 of the MAC address.
49 hex "MAC Address Byte 5"
53 This is the byte 5 of the MAC address.
56 hex "MAC Address Byte 6"
60 This is the byte 6 of the MAC address.
63 hex "MAC Address Byte 7"
67 This is the byte 7 of the MAC address.
DKconfig.cc252039 hex "MAC Address Byte 4"
43 This is the byte 4 of the MAC address.
46 hex "MAC Address Byte 5"
50 This is the byte 5 of the MAC address.
53 hex "MAC Address Byte 6"
57 This is the byte 6 of the MAC address.
60 hex "MAC Address Byte 7"
64 This is the byte 7 of the MAC address.
DKconfig.cc120038 hex "MAC Address Byte 4"
42 This is the byte 4 of the MAC address.
45 hex "MAC Address Byte 5"
49 This is the byte 5 of the MAC address.
52 hex "MAC Address Byte 6"
56 This is the byte 6 of the MAC address.
59 hex "MAC Address Byte 7"
63 This is the byte 7 of the MAC address.
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/
Dmain.c56 "Invalid 16 bits byte order"); in ZTEST()
64 "Invalid 16 bits byte order"); in ZTEST()
72 sizeof(le16), "Invalid 16 bits byte order"); in ZTEST()
80 sizeof(be16), "Invalid 16 bits byte order"); in ZTEST()
88 "Invalid 24 bits byte order"); in ZTEST()
96 "Invalid 24 bits byte order"); in ZTEST()
104 sizeof(le24), "Invalid 24 bits byte order"); in ZTEST()
112 sizeof(be24), "Invalid 24 bits byte order"); in ZTEST()
120 "Invalid 32 bits byte order"); in ZTEST()
128 "Invalid 32 bits byte order"); in ZTEST()
[all …]
/Zephyr-latest/drivers/console/
Duart_console.c94 * function MUST return the byte output. in console_out()
240 static void handle_ansi(uint8_t byte, char *line) in handle_ansi() argument
243 if (isdigit(byte) == 0) { in handle_ansi()
249 ansi_val = byte - '0'; in handle_ansi()
255 if (isdigit(byte) != 0) { in handle_ansi()
258 ansi_val_2 += byte - '0'; in handle_ansi()
261 ansi_val += byte - '0'; in handle_ansi()
267 if (byte == ';' && in handle_ansi()
277 switch (byte) { in handle_ansi()
346 static int read_mcumgr_byte(uint8_t byte) in read_mcumgr_byte() argument
[all …]
/Zephyr-latest/soc/nxp/s32/s32k1/
DKconfig77 Include the 16-byte flash configuration field that stores default
88 hex "Flash security byte (FSEC)"
97 hex "Flash nonvolatile option byte (FOPT)"
105 hex "EEPROM protection byte (FEPROT)"
110 devices. For program flash only devices, this byte is reserved.
113 hex "Data flash protection byte (FDPROT)"
118 devices. For program flash only devices, this byte is reserved.
/Zephyr-latest/include/zephyr/bluetooth/
Dcrypto.h47 * @param key 128 bit LS byte first key for the encryption of the plaintext
48 * @param plaintext 128 bit LS byte first plaintext data block to be encrypted
49 * @param enc_data 128 bit LS byte first encrypted data block
62 * @param key 128 bit MS byte first key for the encryption of the plaintext
63 * @param plaintext 128 bit MS byte first plaintext data block to be encrypted
64 * @param enc_data 128 bit MS byte first encrypted data block
79 * @param key 128 bit MS byte first key
80 * @param nonce 13 byte MS byte first nonce
104 * @param key 128 bit MS byte first key
105 * @param nonce 13 byte MS byte first nonce
/Zephyr-latest/drivers/serial/
DKconfig.nxp_s3218 int "The maximum duration to transfer a byte data in blocking mode"
21 Maximum duration in micro-seconds to transfer a byte data in blocking mode.
24 int "The maximum duration to receive a byte data in blocking mode"
27 Maximum duration in micro-seconds to receive a byte data in blocking mode.
/Zephyr-latest/dts/bindings/flash_controller/
Dst,stm32-flash-controller.yaml8 st,rdp1-enable-byte:
12 This property provides a byte which should used to enable non-permanent
13 readout protection (RDP1). Actually, any byte except 0xAA and 0xCC
16 RDP1 is enabled by comparing it to some hardcoded value. The byte has to
/Zephyr-latest/samples/drivers/lcd_cyclonev_socdk/src/
Dcommands.h12 #define SET_CURSOR 0x45 /*1 byte param in range (0x00 - 0x4F) 2x16 display */
22 #define SET_CONTRAST 0x52 /* 1 byte param in range (1 - 50) 40 default */
23 #define SET_BACKLIGHT 0x53 /* 1 byte param in range (1 - 8) 1 default */
25 #define LD_CUSTOM_CHAR 0x54 /* 9 byte param 1st param: 1-byte */
30 * [addr] 1 byte Custom character address, 0 – 7
47 #define CHGE_RS232_BAUD 0x61 /* 1 byte param in range (1 - 8) */
62 #define CHGE_I2C_ADDR 0X62 /* 1 byte param in range (0x00 - 0xFE), LSB = 0 */
/Zephyr-latest/dts/bindings/mtd/
Djedec,jesd216.yaml32 Contains the 32-bit words in little-endian byte order from the
53 byte, and can be configured by reading then writing one byte with
56 enter-4byte-addr:
59 Enter 4-Byte Addressing value from JESD216 BFP DW16
66 of DW16 identifying ways a device can be placed into 4-byte addressing
67 mode. If provided as a non-zero value the driver assumes that 4-byte
69 automatically puts the device into 4-byte address mode when the device
/Zephyr-latest/tests/subsys/usb/device/src/
Dmain.c122 uint8_t byte; in ZTEST() local
133 zassert_not_equal(usb_dc_ep_is_stalled(INVALID_EP, &byte), TC_PASS, in ZTEST()
159 zassert_not_equal(usb_dc_ep_write(INVALID_EP, &byte, sizeof(byte), in ZTEST()
164 zassert_not_equal(usb_dc_ep_read(INVALID_EP, &byte, sizeof(byte), in ZTEST()
167 zassert_not_equal(usb_dc_ep_read_wait(INVALID_EP, &byte, sizeof(byte), in ZTEST()
181 uint8_t byte; in ZTEST() local
184 zassert_not_equal(usb_read(INVALID_EP, &byte, sizeof(byte), &size), in ZTEST()
188 zassert_not_equal(usb_write(INVALID_EP, &byte, sizeof(byte), &size), in ZTEST()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi.h13 * Byte codes returned by EC over SPI interface.
21 * 2. EC_SHI_OLD_READY - AP sends first byte(s) of request
23 * 4. EC_SHI_RECEIVING - AP sends remaining byte(s) of request
27 * 7. EC_SHI_FRAME_START - AP reads frame byte
35 * the following byte values:
47 * Framing byte which precedes a response packet from the EC. After sending a
48 * request, the AP will clock in bytes until it sees the framing byte, then
59 * EC is ready to receive, and has ignored the byte sent by the AP. EC expects
92 * EC was ready to receive a request from the AP. EC has treated the byte sent
/Zephyr-latest/drivers/flash/
Dspi_nor.h39 #define SPI_NOR_CMD_SE_4B 0x21 /* Sector erase 4 byte address*/
42 #define SPI_NOR_CMD_BE_4B 0xDC /* Block erase 4 byte address*/
46 #define SPI_NOR_CMD_4BA 0xB7 /* Enter 4-Byte Address Mode */
54 #define SPI_NOR_CMD_READ_4B 0x13 /* Read data 4 Byte Address */
55 #define SPI_NOR_CMD_READ_FAST_4B 0x0C /* Fast Read 4 Byte Address */
56 #define SPI_NOR_CMD_DREAD_4B 0x3C /* Read data (1-1-2) 4 Byte Address */
57 #define SPI_NOR_CMD_2READ_4B 0xBC /* Read data (1-2-2) 4 Byte Address */
58 #define SPI_NOR_CMD_QREAD_4B 0x6C /* Read data (1-1-4) 4 Byte Address */
59 #define SPI_NOR_CMD_4READ_4B 0xEC /* Read data (1-4-4) 4 Byte Address */
60 #define SPI_NOR_CMD_PP_4B 0x12 /* Page Program 4 Byte Address */
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_shell.c84 static int read_mcumgr_byte(struct smp_shell_data *data, uint8_t byte) in read_mcumgr_byte() argument
102 if (byte == MCUMGR_SERIAL_HDR_PKT_2) { in read_mcumgr_byte()
103 /* Final framing byte received. */ in read_mcumgr_byte()
113 if (byte == MCUMGR_SERIAL_HDR_FRAG_2) { in read_mcumgr_byte()
114 /* Final framing byte received. */ in read_mcumgr_byte()
124 if (byte == MCUMGR_SERIAL_HDR_PKT_1) { in read_mcumgr_byte()
125 /* First framing byte received. */ in read_mcumgr_byte()
128 } else if (byte == MCUMGR_SERIAL_HDR_FRAG_1) { in read_mcumgr_byte()
129 /* First framing byte received. */ in read_mcumgr_byte()
135 /* Non-mcumgr byte received. */ in read_mcumgr_byte()
[all …]
/Zephyr-latest/drivers/entropy/
Dentropy_nrf5.c27 * values must be read out by the CPU byte-by-byte. But once started,
30 * The generation time for byte 0 after starting generation (with BIAS
37 * The generation time for byte N >= 1 after starting generation (with
44 * Due to the first byte in a stream of bytes being more costly on
46 * amortize the cost of the first byte.
58 * of the first byte on nRF52.
176 static int rng_pool_put(struct rng_pool *rngp, uint8_t byte) in rng_pool_put() argument
187 rngp->buffer[last] = byte; in rng_pool_put()
204 int byte, ret; in isr() local
208 byte = random_byte_get(); in isr()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_crypto.h25 * @param sirk 16 byte LS byte first SIRK
26 * @param r 3 byte LS byte first random value
27 * @param out 3 byte LS byte first output buffer
51 * @param k 16-byte key.
77 * @param k 16-byte key.
/Zephyr-latest/drivers/smbus/
Dsmbus_handlers.c40 uint16_t addr, uint8_t byte) in z_vrfy_smbus_byte_write() argument
44 return z_impl_smbus_byte_write(dev, addr, byte); in z_vrfy_smbus_byte_write()
49 uint16_t addr, uint8_t *byte) in z_vrfy_smbus_byte_read() argument
52 K_OOPS(K_SYSCALL_MEMORY_WRITE(byte, sizeof(uint8_t))); in z_vrfy_smbus_byte_read()
54 return z_impl_smbus_byte_read(dev, addr, byte); in z_vrfy_smbus_byte_read()
60 uint8_t byte) in z_vrfy_smbus_byte_data_write() argument
64 return z_impl_smbus_byte_data_write(dev, addr, cmd, byte); in z_vrfy_smbus_byte_data_write()
70 uint8_t *byte) in z_vrfy_smbus_byte_data_read() argument
73 K_OOPS(K_SYSCALL_MEMORY_WRITE(byte, sizeof(uint8_t))); in z_vrfy_smbus_byte_data_read()
75 return z_impl_smbus_byte_data_read(dev, addr, cmd, byte); in z_vrfy_smbus_byte_data_read()
/Zephyr-latest/subsys/modbus/
Dmodbus_server.c98 * Function code 1 Byte
103 * Function code 1 Byte
104 * Byte count 1 Bytes
105 * Coil status N * 1 Byte
140 /* Calculate byte count for response. */ in mbs_fc01_coil_read()
142 /* Number of data bytes + byte count. */ in mbs_fc01_coil_read()
153 /* Start with bit 0 in response byte data mask. */ in mbs_fc01_coil_read()
183 * Still in same data byte, so shift the data mask in mbs_fc01_coil_read()
197 * Function code 1 Byte
202 * Function code 1 Byte
[all …]

12345678910>>...44