3.2.7 DIAG_DIVAS
The DIAG_DIVAS module is designed to verify the correct functionality of the Divide and Square Root (DIVAS) module through a set of C function calls.
The DIAG_DIVAS software test API is mapped to the following safety mechanisms:
| Function | Diagnostic Mechanism | Use Case | Elapse Time (μs)~ |
|---|---|---|---|
| DIAG_DIVAS_Functional() | DIVAS_FUNCTIONAL | POST / OnDemand | 8.16 |
Configuring the Diagnostic
No configuration is required
Using the Diagnostic
#include "definitions.h"
// DIVAS Post Tests
DIAG_TEST_STATUS DIAG_DIVAS_Post(void)
{
return DIAG_DIVAS_Functional();
}