FreeRTOS/Demo/RX700_RX72N_EnvisionKit_Renesas_e2studio_CS+/src/smc_gen/r_dtc_rx/src/r_dtc_rx.c
/*******************************************************************************
* Function Name: r_dtc_clear_all_dtce_bits
* Description  : Clears all DTCERn.DTCE bit corresponding to the interrupt that
*                can be selected as DTC activation sources.
* Arguments    : addr -
*                  Address need to be validated
* Return Value : true -
*                  The address is valid.
*                false -
*                  The address is invalid.
*******************************************************************************/
Function Name: r_dtc_clear_all_dtce_bits
Description  : Clears all DTCERn.DTCE bit corresponding to the interrupt that
can be selected as DTC activation sources.
Arguments    : addr
Address need to be validated
Return Value : true
The address is valid.
false
The address is invalid.
Function Name : r_dtc_clear_all_dtce_bits Description : Clears all DTCERn . DTCE bit corresponding to the interrupt that can be selected as DTC activation sources . Arguments : addr Address need to be validated Return Value : true The address is valid . false The address is invalid .
static void r_dtc_clear_all_dtce_bits(void)
{
    volatile uint32_t dtce_cnt = 0;
    while (dtce_cnt < DTC_NUM_INTERRUPT_SRC)
    {
        ICU.DTCER[g_source_array[dtce_cnt]].BIT.DTCE = 0;
        dtce_cnt++;
    }
    return;
}
static void r_dtc_clear_all_dtce_bits ( void ) { volatile uint32_t dtce_cnt = 0 ; while ( dtce_cnt < DTC_NUM_INTERRUPT_SRC ) { ICU . DTCER [ g_source_array [ dtce_cnt ] ] . BIT . DTCE = 0 ; dtce_cnt ++ ; } return ; }
Function Name: r_dtc_clear_all_dtce_bits
Description  : Clears all DTCERn.DTCE bit corresponding to the interrupt that
can be selected as DTC activation sources.
Function Name : r_dtc_clear_all_dtce_bits Description : Clears all DTCERn . DTCE bit corresponding to the interrupt that can be selected as DTC activation sources .
/* Clear all DTCER registers.
     * Scan through all available DTCER registers in Array.
     */ /* WAIT_LOOP */ /* Clear Activation source*/