Home
last modified time | relevance | path

Searched refs:edge (Results 1 – 25 of 48) sorted by relevance

12

/bsp/k210/drivers/
A Ddrv_gpio.c129 gpio_pin_edge_t edge; member
135 if(irq_table[pin_channel].edge & GPIO_PE_FALLING) in pin_irq()
142 if(irq_table[pin_channel].edge & GPIO_PE_RISING) in pin_irq()
149 if(irq_table[pin_channel].edge & GPIO_PE_LOW) in pin_irq()
156 if(irq_table[pin_channel].edge & GPIO_PE_HIGH) in pin_irq()
183 irq_table[pin_channel].edge = GPIO_PE_RISING; in drv_pin_attach_irq()
186 irq_table[pin_channel].edge = GPIO_PE_FALLING; in drv_pin_attach_irq()
189 irq_table[pin_channel].edge = GPIO_PE_BOTH; in drv_pin_attach_irq()
192 irq_table[pin_channel].edge = GPIO_PE_LOW; in drv_pin_attach_irq()
195 irq_table[pin_channel].edge = GPIO_PE_HIGH; in drv_pin_attach_irq()
[all …]
/bsp/rm48x50/HALCoGen/include/
A Dhet.h347 void edgeResetCounter(hetRAMBASE_t * hetRAM,uint32 edge);
348 uint32 edgeGetCounter(hetRAMBASE_t * hetRAM,uint32 edge);
349 void edgeEnableNotification(hetBASE_t * hetREG,uint32 edge);
350 void edgeDisableNotification(hetBASE_t * hetREG,uint32 edge);
351 void edgeNotification(hetBASE_t * hetREG,uint32 edge);
/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Src/
A Dfm33lc0xx_fl_comp.c103 assert_param(IS_FL_COMP_EDGE(initStruct->edge)); in FL_COMP_Init()
125 FL_COMP_SetComparator1InterruptEdge(COMP, initStruct->edge); in FL_COMP_Init()
130 FL_COMP_SetComparator2InterruptEdge(COMP, initStruct->edge); in FL_COMP_Init()
158 initStruct->edge = FL_COMP_INTERRUPT_EDGE_BOTH; in FL_COMP_StructInit()
/bsp/k230/drivers/interdrv/gpio/
A Ddrv_gpio.c66 gpio_pin_edge_t edge; member
217 static int kd_set_pin_edge(rt_int32_t pin, gpio_pin_edge_t edge) in kd_set_pin_edge() argument
224 switch (edge) in kd_set_pin_edge()
275 gpio_pin_edge_t edge = irq_table[pin].edge; in pin_irq() local
281 switch (edge) in pin_irq()
328 irq_table[pin].edge = mode; in kd_pin_attach_irq()
331 kd_set_pin_edge(pin, irq_table[pin].edge); in kd_pin_attach_irq()
/bsp/efm32/Libraries/emlib/src/
A Dem_prs.c72 PRS_Edge_TypeDef edge) in PRS_SourceSignalSet() argument
78 (uint32_t)edge; in PRS_SourceSignalSet()
A Dem_timer.c194 ((uint32_t)(init->edge) << _TIMER_CC_CTRL_ICEDGE_SHIFT) | in TIMER_InitCC()
/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Inc/
A Dfm33lc0xx_fl_comp.h61 uint32_t edge; member
384 __STATIC_INLINE void FL_COMP_SetComparator2InterruptEdge(COMP_COMMON_Type *COMPx, uint32_t edge) in FL_COMP_SetComparator2InterruptEdge() argument
386 MODIFY_REG(COMPx->ICR, COMP_ICR_CMP2SEL_Msk, edge); in FL_COMP_SetComparator2InterruptEdge()
413 __STATIC_INLINE void FL_COMP_SetComparator1InterruptEdge(COMP_COMMON_Type *COMPx, uint32_t edge) in FL_COMP_SetComparator1InterruptEdge() argument
415 MODIFY_REG(COMPx->ICR, COMP_ICR_CMP1SEL_Msk, edge); in FL_COMP_SetComparator1InterruptEdge()
A Dfm33lc0xx_fl_lptim32.h442 __STATIC_INLINE void FL_LPTIM32_SetETRCountEdge(LPTIM32_Type *LPTIM32x, uint32_t edge) in FL_LPTIM32_SetETRCountEdge() argument
444 MODIFY_REG(LPTIM32x->CFGR, LPTIM32_CFGR_EDGESEL_Msk, edge); in FL_LPTIM32_SetETRCountEdge()
470 __STATIC_INLINE void FL_LPTIM32_SetETRTriggerEdge(LPTIM32_Type *LPTIM32x, uint32_t edge) in FL_LPTIM32_SetETRTriggerEdge() argument
472 MODIFY_REG(LPTIM32x->CFGR, LPTIM32_CFGR_TRIGCFG_Msk, edge); in FL_LPTIM32_SetETRTriggerEdge()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/src/
A Dbl602_hbn.c1413 BL_Err_Type HBN_Enable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp0_IRQ() argument
1418 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp0_IRQ()
1422 tmpVal2 = tmpVal2 | (1 << edge); in HBN_Enable_AComp0_IRQ()
1437 BL_Err_Type HBN_Disable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Disable_AComp0_IRQ() argument
1442 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp0_IRQ()
1446 tmpVal2 = tmpVal2 & (~(1 << edge)); in HBN_Disable_AComp0_IRQ()
1461 BL_Err_Type HBN_Enable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp1_IRQ() argument
1466 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp1_IRQ()
1470 tmpVal2 = tmpVal2 | (1 << edge); in HBN_Enable_AComp1_IRQ()
1490 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp1_IRQ()
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/include/
A Dbl602_hbn.h467 BL_Err_Type HBN_Enable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
468 BL_Err_Type HBN_Disable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
469 BL_Err_Type HBN_Enable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
470 BL_Err_Type HBN_Disable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/include/
A Dbl702_hbn.h525 BL_Err_Type HBN_Enable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
526 BL_Err_Type HBN_Disable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
527 BL_Err_Type HBN_Enable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
528 BL_Err_Type HBN_Disable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/src/
A Dbl808_hbn.c1731 BL_Err_Type HBN_Enable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp0_IRQ() argument
1736 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp0_IRQ()
1740 tmpVal2 = tmpVal2 | (1 << edge); in HBN_Enable_AComp0_IRQ()
1755 BL_Err_Type HBN_Disable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Disable_AComp0_IRQ() argument
1760 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp0_IRQ()
1764 tmpVal2 = tmpVal2 & (~(1 << edge)); in HBN_Disable_AComp0_IRQ()
1779 BL_Err_Type HBN_Enable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp1_IRQ() argument
1784 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp1_IRQ()
1788 tmpVal2 = tmpVal2 | (1 << edge); in HBN_Enable_AComp1_IRQ()
1808 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp1_IRQ()
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/src/
A Dbl702_hbn.c1413 BL_Err_Type HBN_Enable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp0_IRQ() argument
1418 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp0_IRQ()
1422 tmpVal2 = tmpVal2 | (1 << edge); in HBN_Enable_AComp0_IRQ()
1437 BL_Err_Type HBN_Disable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Disable_AComp0_IRQ() argument
1442 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp0_IRQ()
1446 tmpVal2 = tmpVal2 & (~(1 << edge)); in HBN_Disable_AComp0_IRQ()
1461 BL_Err_Type HBN_Enable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp1_IRQ() argument
1466 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp1_IRQ()
1470 tmpVal2 = tmpVal2 | (1 << edge); in HBN_Enable_AComp1_IRQ()
1490 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp1_IRQ()
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/include/
A Dbl808_hbn.h642 BL_Err_Type HBN_Enable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
643 BL_Err_Type HBN_Disable_AComp0_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
644 BL_Err_Type HBN_Enable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
645 BL_Err_Type HBN_Disable_AComp1_IRQ(HBN_ACOMP_INT_EDGE_Type edge);
/bsp/efm32/Libraries/emlib/inc/
A Dem_prs.h113 PRS_Edge_TypeDef edge);
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_acmp.c73 assert_param(IS_ACMP_EDGE_TYPE(hperh->init.edge)); in ald_acmp_init()
93 switch (hperh->init.edge) { in ald_acmp_init()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_acmp.c77 assert_param(IS_ACMP_EDGE_TYPE(hperh->init.edge)); in ald_acmp_init()
100 switch (hperh->init.edge) { in ald_acmp_init()
/bsp/apm32/libraries/APM32F0xx_Library/APM32F0xx_StdPeriphDriver/inc/
A Dapm32f0xx_rtc.h482 void RTC_EnableTimeStamp(RTC_TIMESTAMP_EDGE_T edge);
483 void RTC_DisableTimeStamp(RTC_TIMESTAMP_EDGE_T edge);
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/src/
A Dbl616_hbn.c1902 BL_Err_Type HBN_Enable_AComp_IRQ(uint8_t acompId, HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp_IRQ() argument
1908 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp_IRQ()
1913 tmpVal2 = tmpVal2 | edge; in HBN_Enable_AComp_IRQ()
1919 tmpVal2 = tmpVal2 | edge; in HBN_Enable_AComp_IRQ()
1936 BL_Err_Type HBN_Disable_AComp_IRQ(uint8_t acompId, HBN_ACOMP_INT_EDGE_Type edge) in HBN_Disable_AComp_IRQ() argument
1942 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp_IRQ()
1947 tmpVal2 = tmpVal2 & (~edge); in HBN_Disable_AComp_IRQ()
1953 tmpVal2 = tmpVal2 & (~edge); in HBN_Disable_AComp_IRQ()
A Dbl616_romapi_patch.c1879 BL_Err_Type HBN_Enable_AComp_IRQ(uint8_t acompId, HBN_ACOMP_INT_EDGE_Type edge) in HBN_Enable_AComp_IRQ() argument
1885 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Enable_AComp_IRQ()
1890 tmpVal2 = tmpVal2 | edge; in HBN_Enable_AComp_IRQ()
1896 tmpVal2 = tmpVal2 | edge; in HBN_Enable_AComp_IRQ()
1913 BL_Err_Type HBN_Disable_AComp_IRQ(uint8_t acompId, HBN_ACOMP_INT_EDGE_Type edge) in HBN_Disable_AComp_IRQ() argument
1919 CHECK_PARAM(IS_HBN_ACOMP_INT_EDGE_TYPE(edge)); in HBN_Disable_AComp_IRQ()
1924 tmpVal2 = tmpVal2 & (~edge); in HBN_Disable_AComp_IRQ()
1930 tmpVal2 = tmpVal2 & (~edge); in HBN_Disable_AComp_IRQ()
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_gptmr_drv.h187 gptmr_synci_edge_t edge) in gptmr_channel_select_synci_valid_edge() argument
191 | GPTMR_CHANNEL_CR_SYNCIREN_MASK)) | edge; in gptmr_channel_select_synci_valid_edge()
/bsp/apm32/libraries/APM32F0xx_Library/APM32F0xx_StdPeriphDriver/src/
A Dapm32f0xx_rtc.c1113 void RTC_EnableTimeStamp(RTC_TIMESTAMP_EDGE_T edge) in RTC_EnableTimeStamp() argument
1117 RTC->CTRL_B.TSETECFG = (uint32_t)edge; in RTC_EnableTimeStamp()
1134 void RTC_DisableTimeStamp(RTC_TIMESTAMP_EDGE_T edge) in RTC_DisableTimeStamp() argument
1138 RTC->CTRL_B.TSETECFG = (uint32_t)edge; in RTC_DisableTimeStamp()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Include/
A Dald_acmp.h184 acmp_edge_t edge; /**< Select edges to set interrupt flag */ member
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/include/
A Dbl616_hbn.h660 BL_Err_Type HBN_Enable_AComp_IRQ(uint8_t acompId, HBN_ACOMP_INT_EDGE_Type edge);
661 BL_Err_Type HBN_Disable_AComp_IRQ(uint8_t acompId, HBN_ACOMP_INT_EDGE_Type edge);
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Include/
A Dald_acmp.h206 acmp_edge_t edge; /** Select edges to set interrupt flag */ member

Completed in 87 milliseconds

12