64typedef enum as_bit_write_flags_e {
99typedef enum as_bit_resize_flags_e {
126typedef enum as_bit_overflow_action_e {
150typedef struct as_bit_policy_s {
186 uint16_t command,
int offset, uint32_t size
192 uint16_t command,
int bit_offset, uint32_t bit_size, uint32_t shift
198 uint16_t command,
int bit_offset, uint32_t bit_size, uint64_t value,
bool sign,
205 uint16_t command,
int bit_offset, uint32_t bit_size, uint32_t value_size, uint8_t* value
217 uint32_t bit_size,
bool value
243 policy->
flags = flags;
284 int byte_offset, uint32_t value_byte_size, uint8_t* value
304 int byte_offset, uint32_t byte_size
329 int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t* value
354 int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t* value
379 int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t* value
404 int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t* value
427 int bit_offset, uint32_t bit_size
451 int bit_offset, uint32_t bit_size, uint32_t shift
475 int bit_offset, uint32_t bit_size, uint32_t shift
553 int bit_offset, uint32_t bit_size, int64_t value
AS_EXTERN bool as_bit_read(as_operations *ops, const char *name, as_cdt_ctx *ctx, uint16_t command, int bit_offset, uint32_t bit_size)
AS_EXTERN bool as_bit_byte_math(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, uint16_t command, int bit_offset, uint32_t bit_size, uint32_t value_size, uint8_t *value)
AS_EXTERN bool as_bit_shift(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, uint16_t command, int bit_offset, uint32_t bit_size, uint32_t shift)
AS_EXTERN bool as_bit_write(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, uint16_t command, int offset, uint32_t size)
AS_EXTERN bool as_bit_math(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, uint16_t command, int bit_offset, uint32_t bit_size, uint64_t value, bool sign, as_bit_overflow_action action)
AS_EXTERN bool as_bit_scan(as_operations *ops, const char *name, as_cdt_ctx *ctx, uint16_t command, int bit_offset, uint32_t bit_size, bool value)
static bool as_operations_bit_remove(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int byte_offset, uint32_t byte_size)
static bool as_operations_bit_lscan(as_operations *ops, const char *name, as_cdt_ctx *ctx, int bit_offset, uint32_t bit_size, bool value)
static void as_bit_policy_set_write_flags(as_bit_policy *policy, as_bit_write_flags flags)
static bool as_operations_bit_and(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t *value)
static bool as_operations_bit_rscan(as_operations *ops, const char *name, as_cdt_ctx *ctx, int bit_offset, uint32_t bit_size, bool value)
static bool as_operations_bit_get(as_operations *ops, const char *name, as_cdt_ctx *ctx, int bit_offset, uint32_t bit_size)
AS_EXTERN bool as_operations_bit_set_int(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, int64_t value)
static bool as_operations_bit_rshift(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint32_t shift)
static bool as_operations_bit_subtract(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint64_t value, bool sign, as_bit_overflow_action action)
static void as_bit_policy_init(as_bit_policy *policy)
static bool as_operations_bit_or(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t *value)
static bool as_operations_bit_add(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint64_t value, bool sign, as_bit_overflow_action action)
static bool as_operations_bit_set(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t *value)
AS_EXTERN bool as_operations_bit_get_int(as_operations *ops, const char *name, as_cdt_ctx *ctx, int bit_offset, uint32_t bit_size, bool sign)
static bool as_operations_bit_not(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size)
AS_EXTERN bool as_operations_bit_insert(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int byte_offset, uint32_t value_byte_size, uint8_t *value)
AS_EXTERN bool as_operations_bit_resize(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, uint32_t byte_size, as_bit_resize_flags flags)
static bool as_operations_bit_lshift(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint32_t shift)
static bool as_operations_bit_count(as_operations *ops, const char *name, as_cdt_ctx *ctx, int bit_offset, uint32_t bit_size)
static bool as_operations_bit_xor(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_bit_policy *policy, int bit_offset, uint32_t bit_size, uint32_t value_byte_size, uint8_t *value)
@ AS_BIT_OVERFLOW_SATURATE
@ AS_BIT_RESIZE_GROW_ONLY
@ AS_BIT_RESIZE_FROM_FRONT
@ AS_BIT_RESIZE_SHRINK_ONLY
@ AS_BIT_WRITE_UPDATE_ONLY
@ AS_BIT_WRITE_CREATE_ONLY