Lines Matching +full:0 +full:x00 +full:- +full:positive
4 * SPDX-License-Identifier: Apache-2.0
16 * All specification references in this file refer to IEEE 802.15.4-2020.
43 IEEE802154_IE_TYPE_HEADER = 0x0, /**< Header type */
50 * @details See section 7.4.2.1, table 7-7, partial list, only IEs actually used
54 IEEE802154_HEADER_IE_ELEMENT_ID_VENDOR_SPECIFIC_IE = 0x00, /**< Vendor specific IE */
55 IEEE802154_HEADER_IE_ELEMENT_ID_CSL_IE = 0x1a, /**< CSL IE */
56 IEEE802154_HEADER_IE_ELEMENT_ID_RIT_IE = 0x1b, /**< RIT IE */
57 IEEE802154_HEADER_IE_ELEMENT_ID_RENDEZVOUS_TIME_IE = 0x1d, /**< Rendezvous time IE */
58 IEEE802154_HEADER_IE_ELEMENT_ID_TIME_CORRECTION_IE = 0x1e, /**< Time correction IE */
59 IEEE802154_HEADER_IE_ELEMENT_ID_HEADER_TERMINATION_1 = 0x7e, /**< Header termination 1 */
60 IEEE802154_HEADER_IE_ELEMENT_ID_HEADER_TERMINATION_2 = 0x7f, /**< Header termination 2 */
146 uint16_t type : 1; /* always 0 */
150 uint16_t type : 1; /* always 0 */
173 .element_id_high = (_element_id) >> 1U, .element_id_low = (_element_id) & 0x01, \
200 #define IEEE802154_HEADER_IE_TIME_CORRECTION_NACK 0x8000
201 #define IEEE802154_HEADER_IE_TIME_CORRECTION_MASK 0x0fff
202 #define IEEE802154_HEADER_IE_TIME_CORRECTION_SIGN_BIT_MASK 0x0800
220 * {0x9b, 0xb8, 0xea}, vendor_specific_info, sizeof(vendor_specific_info));
298 * @param _time_correction_us the positive or negative deviation from expected
319 if (ie->time_sync_info & IEEE802154_HEADER_IE_TIME_CORRECTION_SIGN_BIT_MASK) { in ieee802154_header_ie_get_time_correction_us()
321 return (int16_t)ie->time_sync_info | ~IEEE802154_HEADER_IE_TIME_CORRECTION_MASK; in ieee802154_header_ie_get_time_correction_us()
324 /* Positive integer */ in ieee802154_header_ie_get_time_correction_us()
325 return (int16_t)ie->time_sync_info & IEEE802154_HEADER_IE_TIME_CORRECTION_MASK; in ieee802154_header_ie_get_time_correction_us()
337 ie->element_id_high = element_id >> 1U; in ieee802154_header_ie_set_element_id()
338 ie->element_id_low = element_id & 0x01; in ieee802154_header_ie_set_element_id()
350 return (ie->element_id_high << 1U) | ie->element_id_low; in ieee802154_header_ie_get_element_id()