Hardware Abstraction Layer (HAL)
cy_rslt_decode_t Union Reference

Description

Provides the result of an operation as a structured bitfield.

This is an updated version of cy_rslt_t that pulls the individual fields out into their own members for easier readability. The organization and meaning of items is exactly the same. The new version can be used as follows: cy_rslt_decode_t result; result.raw = my_function_that_returns_cy_rslt_t();

See the General Description for more details on structure and usage.

Data Fields

cy_rslt_t raw
 The raw uint32/cy_rslt_t value.
 
struct {
uint16_t code: CY_RSLT_CODE_WIDTH
 The 16bit result code.
 
cy_en_rslt_type_t type: CY_RSLT_TYPE_WIDTH
 The 2bit result type.
 
cy_en_rslt_module_t module: CY_RSLT_MODULE_WIDTH
 The 14bit module id.
 
}; 
 Anonymous struct breaking out each of the fields of the result type.
 

Field Documentation

◆ raw

cy_rslt_t cy_rslt_decode_t::raw

The raw uint32/cy_rslt_t value.

◆ 

struct { ... }

Anonymous struct breaking out each of the fields of the result type.