Searched full:eadc (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/adc/ |
D | adc_numaker.c | 27 /* eadc base address */ 116 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() [all …]
|
/Zephyr-latest/dts/bindings/tcpc/ |
D | nuvoton,numaker-tcpc.yaml | 138 EADC channels for measuring VBUS/VCONN voltage 143 Valid names of EADC channels: 144 "chn-vbus": EADC channel for measuring VBUS voltage (option) 145 "chn-vconn": EADC channel for measuring VCONN voltage (option) 150 Rate of timer-triggered EADC measurement (Hz).
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_numaker.c | 36 * by Timer-trigger EADC. To implement this interconnection, TCPC node_id 37 * will cover UTCPD, EADC, and Timer H/W characteristics of registers, 39 * NOTE: EADC and Timer interrupts needn't enable for Timer-triggered EADC. 225 } eadc; member 290 * @note UTCPD VBVOL.VBVOL = MSB 10-bit of EADC DAT.RESULT[11:0], 310 * @note UTCPD VBVOL.VBVOL = MSB 10-bit of EADC DAT.RESULT[11:0], 377 * @brief Initializes EADC Vref 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() 996 * @brief Configures EADC sample module with trigger source, channel, etc. [all …]
|
/Zephyr-latest/dts/arm/nuvoton/ |
D | m46x.dtsi | 566 eadc0: eadc@40043000 { 579 eadc1: eadc@4004b000 { 592 eadc2: eadc@40097000 {
|
D | m2l31x.dtsi | 318 eadc0: eadc@40043000 { 418 reg-names = "utcpd", "eadc", "timer";
|