/* Initialize NMI. Fill each pstcNmiInit with default value.  */
int32_t NMI_StructInit(stc_nmi_init_t *pstcNmiInit)
/* Initialize NMI. Fill each pstcNmiInit with default value.  */
int32_t NMI_StructInit(stc_nmi_init_t *pstcNmiInit)
{
    int32_t i32Ret = LL_OK;
    if (NULL == pstcNmiInit) {
        i32Ret = LL_ERR_INVD_PARAM;
    } else {
        pstcNmiInit->u32Src        = 0UL;
        pstcNmiInit->u32Edge = NMI_TRIG_FALLING;
        pstcNmiInit->u32Filter = NMI_FILTER_OFF;
        pstcNmiInit->u32FilterClock = NMI_FCLK_DIV1;
    }
    return i32Ret;
}