Other Parts Discussed in Thread: MSPM0G3507
Tool/software:
Hello,
I would like to know what configurations are needed to perform square root, for example the square root of the number 9
MATHACL->CTL = MATHACL_CTL_FUNC_SQRT | /// Do square root
MATHACL_CTL_OPTYPE_UNSIGNED | /// the operand is unsigned
MATHACL_CTL_QVAL_Q0; /// no fractional
MATHACL->OP1 = 9U;
MATHACL->OP2 = 0U;