/* De-initializes OTS peripheral. Reset the registers of OTS.  */
int32_t OTS_DeInit(void)
/* De-initializes OTS peripheral. Reset the registers of OTS.  */
int32_t OTS_DeInit(void)
{
    OTS_Stop();
    WRITE_REG16(CM_OTS->CTL, 0U);
    WRITE_REG16(CM_OTS->DR1, 0U);
    WRITE_REG16(CM_OTS->DR2, 0U);
    WRITE_REG16(CM_OTS->ECR, 0U);
    return LL_OK;
}