Searched refs:ZCBOR_BOOL_TO_SIMPLE (Results 1 – 3 of 3) sorted by relevance
243 #define ZCBOR_BOOL_TO_SIMPLE ((uint8_t)20) ///! In CBOR, false/true have the values 20/21 macro
499 return zcbor_simple_put(state, (!!input + ZCBOR_BOOL_TO_SIMPLE));
1124 value -= ZCBOR_BOOL_TO_SIMPLE;1138 return zcbor_simple_expect(state, (uint8_t)(!!expected) + ZCBOR_BOOL_TO_SIMPLE);