Secure Request Framework
Data Structures

General Description

Data Structures

struct  mtb_srf_request_ns_t
 Secure request description structure. More...
 
struct  mtb_srf_invec_ns_t
 An input vector - a section of memory to be used along with the length. More...
 
struct  mtb_srf_outvec_ns_t
 An output vector - a section of memory to be used along with the length. More...
 
struct  mtb_srf_input_ns_t
 An input structure. More...
 
struct  mtb_srf_output_ns_t
 An input structure. More...
 

Macros

#define MTB_SRF_MAX_IOVEC   (4U)
 Max number of vectors that can be provided to mtb_srf_request_submit.
 

Data Structure Documentation

◆ mtb_srf_request_ns_t

struct mtb_srf_request_ns_t
Data Fields
uint8_t module_id ID of the module containing the requested operation.
uint8_t submodule_id ID of the submodule containing within the module.
uint8_t op_id ID of the requested operation within the submodule.
void * base Register base address for the operation.
uint32_t sub_block Sub-block index for this operation.

◆ mtb_srf_invec_ns_t

struct mtb_srf_invec_ns_t
Data Fields
const void * base Start address of the memory buffer.
size_t len Size of memory buffer in bytes.

◆ mtb_srf_outvec_ns_t

struct mtb_srf_outvec_ns_t
Data Fields
void * base Start address of the memory buffer *‍/.
size_t len Size of memory buffer in bytes *‍/.

◆ mtb_srf_input_ns_t

struct mtb_srf_input_ns_t
Data Fields
mtb_srf_request_ns_t request Request information.
size_t len Size of the input_values array.
uint8_t input_values[] Flexible size array for non-pointer input arguments.

◆ mtb_srf_output_ns_t

struct mtb_srf_output_ns_t
Data Fields
cy_rslt_t result Result of the operation.
size_t len Size of the output_values array.
uint8_t output_values[] Flexible size array for non-pointer output arguments.