Software Library API naibrd 2.24.0
See all documentation at naii.docs.com

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_POST_ParseResult (uint32_t bitResult, uint8_t *p_outconfig, uint8_t *p_outstatus, uint8_t *p_outsubtest, uint8_t *p_outsubteststatus)
 Parses the 32-bit test result to the four components: Config, Status, SubTest, and SubTest Status.
 

Detailed Description

Function Documentation

◆ naibrd_POST_ParseResult()

NAIBRDFUNC nai_status_t NAIAPI naibrd_POST_ParseResult ( uint32_t bitResult,
uint8_t * p_outconfig,
uint8_t * p_outstatus,
uint8_t * p_outsubtest,
uint8_t * p_outsubteststatus )

Parses the 32-bit test result to the four components: Config, Status, SubTest, and SubTest Status.

Parameters
bitResult: (Input)32-bit value to parse.
p_outconfig: (Output) Configuration.
p_outstatus: (Output) Status.
p_outsubtest: (Output) Sub Test.
p_outsubteststatus: (Output) Sub Test Status.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_VALUE when invalid parameter is specified.