11#ifndef IFX_RECORD_ALT_CARRIER_H
12#define IFX_RECORD_ALT_CARRIER_H
30#define IFX_RECORD_AC_SET UINT8_C(0x01)
35#define IFX_RECORD_AC_GET UINT8_C(0x02)
40#define IFX_RECORD_AC_RELEASE_MEMORY UINT8_C(0x03)
45#define IFX_RECORD_AC_TYPE {0x61, 0x63}
55 IFX_CPS_INACTIVE = 0x00,
155 uint8_t auxiliary_data_ref_count);
205 uint8_t *auxiliary_data_ref_count);
Infineon specific error code creation and parsing.
uint32_t ifx_status_t
Custom return code type used by all Infineon host software libraries.
Model interface to create record types and set/get record fields.
ifx_status_t ifx_record_ac_set_cps(ifx_record_handle_t *handle, ifx_record_ac_cps cps)
Sets a carrier power state (CPS) in the alternative carrier record details for the given record handl...
ifx_status_t ifx_record_ac_get_aux_ref(const ifx_record_handle_t *handle, ifx_record_data_ref_t *auxiliary_data_ref, uint8_t *auxiliary_data_ref_count)
Gets the list of auxiliary data references of alternative carrier record from the given record handle...
ifx_status_t ifx_record_ac_get_cps(const ifx_record_handle_t *handle, ifx_record_ac_cps *cps)
Gets a carrier power state (CPS) of alternative carrier record details from the given record handle.
ifx_status_t ifx_record_ac_get_carrier_ref(const ifx_record_handle_t *handle, ifx_record_data_ref_t *carrier_data_ref)
Gets a carrier data reference of alternative carrier record details from the given record handle.
ifx_record_ac_cps
Enumeration defines the different carrier power states of alternative carrier record.
ifx_status_t ifx_record_ac_set_aux_ref(ifx_record_handle_t *handle, const ifx_record_data_ref_t *auxiliary_data_ref, uint8_t auxiliary_data_ref_count)
Sets the list of auxiliary data references to alternative carrier record for the given record handle.
ifx_status_t ifx_record_ac_set_carrier_ref(ifx_record_handle_t *handle, const ifx_record_data_ref_t *carrier_data_ref)
Sets a carrier data reference in alternative carrier record details for the given record handle.
ifx_status_t ifx_record_ac_new(ifx_record_handle_t *handle)
Creates an alternative carrier record and handle of the created record. This handle holds the values ...
Provides utility functions and macros.
Defines record details respective to alternative carrier record.
ifx_record_data_ref_t * carrier_data_ref
ifx_record_data_ref_t ** auxiliary_data_ref
uint8_t auxiliary_data_ref_count
Structure holds byte array of data and its length.
uint8_t data_length
Array length in bytes.
uint8_t * data
Array of data.
Defines the handle for specific record type.