Home
last modified time | relevance | path

Searched refs:eadc (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_numaker.c116 EADC_T *eadc = cfg->eadc_base; in adc_numaker_isr() local
125 LOG_DBG("ADC ISR STATUS2[0x%x] STATUS3[0x%x]", eadc->STATUS2, eadc->STATUS3); in adc_numaker_isr()
131 if (!(eadc->STATUS2 & EADC_STATUS2_BUSY_Msk) && in adc_numaker_isr()
132 ((eadc->STATUS3 & EADC_STATUS3_CURSPL_Msk) == EADC_STATUS3_CURSPL_Msk)) { in adc_numaker_isr()
134 EADC_STOP_CONV(eadc, module_mask); in adc_numaker_isr()
137 EADC_DISABLE_INT(eadc, BIT0); in adc_numaker_isr()
140 EADC_DISABLE_SAMPLE_MODULE_INT(eadc, 0, module_mask); in adc_numaker_isr()
146 conv_data = EADC_GET_CONV_DATA(eadc, module_id); in adc_numaker_isr()
154 eadc->SCTL[module_id] = 0; in adc_numaker_isr()
162 EADC_CLR_INT_FLAG(eadc, EADC_STATUS2_ADIF0_Msk); in adc_numaker_isr()
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c225 } eadc; member
400 spec = config->eadc.spec_vbus ? config->eadc.spec_vbus : config->eadc.spec_vconn; in numaker_eadc_vref_init()
466 if (config->eadc.spec_vbus == NULL) { in numaker_utcpd_vbus_measure()
1059 if (config->eadc.spec_vbus != NULL) { in numaker_utcpd_vbus_init()
1103 if (config->eadc.spec_vbus != NULL) { in numaker_utcpd_vbus_init()
1418 if (config->eadc.spec_vbus != NULL) { in numaker_utcpd_init_startup()
1419 muxsel |= (config->eadc.spec_vbus->channel_id << UTCPD_MUXSEL_ADCSELVB_Pos); in numaker_utcpd_init_startup()
1423 if (config->eadc.spec_vconn != NULL) { in numaker_utcpd_init_startup()
1424 muxsel |= (config->eadc.spec_vconn->channel_id << UTCPD_MUXSEL_ADCSELVC_Pos); in numaker_utcpd_init_startup()
1474 spec = config->eadc.spec_vbus; in numaker_eadc_init_startup()
[all …]
/Zephyr-latest/dts/arm/nuvoton/
Dm46x.dtsi566 eadc0: eadc@40043000 {
579 eadc1: eadc@4004b000 {
592 eadc2: eadc@40097000 {
Dm2l31x.dtsi318 eadc0: eadc@40043000 {
418 reg-names = "utcpd", "eadc", "timer";