ModusToolbox Safety Test Library
Loading...
Searching...
No Matches

General Description

Macros

#define SelfTest_Cordic(void)
 BWC macro to call SelfTest_Cordic_Ext() with the default CORDIC instance.

Functions

uint8_t SelfTest_Cordic_Ext (MXCORDIC_Type *base)
 This function performs the self test on Cordic IP.

Macro Definition Documentation

◆ SelfTest_Cordic

#define SelfTest_Cordic ( void)
Value:
uint8_t SelfTest_Cordic_Ext(MXCORDIC_Type *base)
This function performs the self test on Cordic IP.

BWC macro to call SelfTest_Cordic_Ext() with the default CORDIC instance.

Returns
OK_STATUS (0) - Test passed
ERROR_STATUS (1) - Test failed

Function Documentation

◆ SelfTest_Cordic_Ext()

uint8_t SelfTest_Cordic_Ext ( MXCORDIC_Type * base)

This function performs the self test on Cordic IP.

The CORDIC block accelerates the calculation of trigonometric functions. Sine and Cosine are calculated in this function.

Parameters
basePointer to the CORDIC instance.
Returns
OK_STATUS (0) - Test passed
ERROR_STATUS (1) - Test failed