/hal_silabs-3.7.0/gecko/emlib/inc/ |
D | em_gpio.h | 394 #define _GPIO_PORT_SIZE(port) ( \ argument 395 (port) == 0 ? _GPIO_PORT_A_PIN_COUNT \ 396 : (port) == 1 ? _GPIO_PORT_B_PIN_COUNT \ 397 : (port) == 2 ? _GPIO_PORT_C_PIN_COUNT \ 398 : (port) == 3 ? _GPIO_PORT_D_PIN_COUNT \ 399 : (port) == 4 ? _GPIO_PORT_E_PIN_COUNT \ 400 : (port) == 5 ? _GPIO_PORT_F_PIN_COUNT \ 401 : (port) == 6 ? _GPIO_PORT_G_PIN_COUNT \ 402 : (port) == 7 ? _GPIO_PORT_H_PIN_COUNT \ 403 : (port) == 8 ? _GPIO_PORT_I_PIN_COUNT \ [all …]
|
D | em_chip.h | 202 uint32_t port; in CHIP_Init() local 224 for (port = 0; port <= GPIO_PORT_MAX; port++) { in CHIP_Init() 225 GPIO->P[port].CTRL = setVal | resetVal; in CHIP_Init()
|
D | em_iadc.h | 1363 __STATIC_INLINE IADC_NegInput_t IADC_portPinToNegInput(GPIO_Port_TypeDef port, in IADC_portPinToNegInput() argument 1366 uint32_t input = (((uint32_t) port + _IADC_SCAN_PORTNEG_PORTA) << 4) | pin; in IADC_portPinToNegInput() 1384 __STATIC_INLINE IADC_PosInput_t IADC_portPinToPosInput(GPIO_Port_TypeDef port, in IADC_portPinToPosInput() argument 1387 uint32_t input = (((uint32_t) port + _IADC_SCAN_PORTPOS_PORTA) << 4) | pin; in IADC_portPinToPosInput()
|
D | em_acmp.h | 964 void ACMP_GPIOSetup(ACMP_TypeDef *acmp, GPIO_Port_TypeDef port, unsigned int pin, bool enable, bool… 1127 __STATIC_INLINE ACMP_Channel_TypeDef ACMP_PortPinToInput(GPIO_Port_TypeDef port, uint8_t pin) in ACMP_PortPinToInput() argument 1129 uint32_t input = (((uint32_t) port + (_ACMP_INPUTCTRL_POSSEL_PA0 >> 4)) << 4) | pin; in ACMP_PortPinToInput()
|
D | em_vdac.h | 477 VDAC_ChPortSel_t port;
|
D | em_msc.h | 820 void MSC_DmemPortMapSet(MSC_DmemMaster_TypeDef master, uint8_t port);
|
D | em_cmu.h | 1354 GPIO_Port_TypeDef port, 1382 … GPIO_Port_TypeDef port, 1388 … GPIO_Port_TypeDef port,
|
D | em_prs.h | 1153 void PRS_PinOutput(unsigned int ch, PRS_ChType_t type, GPIO_Port_TypeDef port, uint8_t pin);
|
/hal_silabs-3.7.0/gecko/emlib/src/ |
D | em_gpio.c | 102 void GPIO_DriveModeSet(GPIO_Port_TypeDef port, GPIO_DriveMode_TypeDef mode) in GPIO_DriveModeSet() argument 104 EFM_ASSERT(GPIO_PORT_VALID(port) && GPIO_DRIVEMODE_VALID(mode)); in GPIO_DriveModeSet() 106 GPIO->P[port].CTRL = (GPIO->P[port].CTRL & ~(_GPIO_P_CTRL_DRIVEMODE_MASK)) in GPIO_DriveModeSet() 122 void GPIO_DriveStrengthSet(GPIO_Port_TypeDef port, in GPIO_DriveStrengthSet() argument 125 EFM_ASSERT(GPIO_PORT_VALID(port) && GPIO_STRENGTH_VALID(strength)); in GPIO_DriveStrengthSet() 126 BUS_RegMaskedWrite(&GPIO->P[port].CTRL, in GPIO_DriveStrengthSet() 177 void GPIO_ExtIntConfig(GPIO_Port_TypeDef port, in GPIO_ExtIntConfig() argument 191 EFM_ASSERT(GPIO_PORT_PIN_VALID(port, pin)); in GPIO_ExtIntConfig() 202 (uint32_t)port << (_GPIO_EXTIPSELL_EXTIPSEL1_SHIFT * intNo)); in GPIO_ExtIntConfig() 210 (uint32_t)port << (_GPIO_EXTIPSELH_EXTIPSEL1_SHIFT * tmp)); in GPIO_ExtIntConfig() [all …]
|
D | em_dbg.c | 92 int port; in DBG_SWOEnable() local 97 port = GPIO_SWV_PORT; in DBG_SWOEnable() 103 port = AF_DBG_SWO_PORT(location); in DBG_SWOEnable() 106 port = AF_DBG_SWV_PORT(location); in DBG_SWOEnable() 115 if ((pin < 0) || (port < 0)) { in DBG_SWOEnable() 130 GPIO_PinModeSet((GPIO_Port_TypeDef)port, pin, gpioModePushPull, 0); in DBG_SWOEnable()
|
D | em_msc.c | 1971 void MSC_DmemPortMapSet(MSC_DmemMaster_TypeDef master, uint8_t port) in MSC_DmemPortMapSet() argument 1985 EFM_ASSERT(port < DMEM_NUM_PORTS); in MSC_DmemPortMapSet() 1987 EFM_ASSERT(port < DMEM0_NUM_PORTS); in MSC_DmemPortMapSet() 2001 (uint32_t)port << master); in MSC_DmemPortMapSet() 2060 uint32_t port = 0; in MSC_PortGetCurrentPriority() local 2063 port = BUS_RegMaskedRead(&DMEM->CTRL, in MSC_PortGetCurrentPriority() 2066 port = BUS_RegMaskedRead(&DMEM0->CTRL, in MSC_PortGetCurrentPriority() 2070 return (MSC_PortPriority_TypeDef)(port >> _MPAHBRAM_CTRL_AHBPORTPRIORITY_SHIFT); in MSC_PortGetCurrentPriority()
|
D | em_acmp.c | 422 void ACMP_GPIOSetup(ACMP_TypeDef *acmp, GPIO_Port_TypeDef port, in ACMP_GPIOSetup() argument 431 EFM_ASSERT(GPIO_PORT_PIN_VALID(port, pin)); in ACMP_GPIOSetup() 437 GPIO->ACMPROUTE[acmpIndex].ACMPOUTROUTE = (port << _GPIO_ACMP_ACMPOUTROUTE_PORT_SHIFT) in ACMP_GPIOSetup()
|
D | em_prs.c | 595 void PRS_PinOutput(unsigned int ch, PRS_ChType_t type, GPIO_Port_TypeDef port, uint8_t pin) in PRS_PinOutput() argument 604 *addr = ((uint32_t)port << _GPIO_PRS_ASYNCH0ROUTE_PORT_SHIFT) in PRS_PinOutput()
|
D | em_cmu.c | 511 GPIO_Port_TypeDef port, in CMU_ClkOutPinConfig() argument 521 EFM_ASSERT((port == 2U) || (port == 3U)); in CMU_ClkOutPinConfig() 524 EFM_ASSERT((port == 0U) || (port == 1U)); in CMU_ClkOutPinConfig() 596 GPIO_PinModeSet(port, pin, gpioModeDisabled, 0); in CMU_ClkOutPinConfig() 600 GPIO->CMUROUTE.CLKOUT0ROUTE = (port << _GPIO_CMU_CLKOUT0ROUTE_PORT_SHIFT) in CMU_ClkOutPinConfig() 603 GPIO->CMUROUTE.CLKOUT1ROUTE = (port << _GPIO_CMU_CLKOUT1ROUTE_PORT_SHIFT) in CMU_ClkOutPinConfig() 606 GPIO->CMUROUTE.CLKOUT2ROUTE = (port << _GPIO_CMU_CLKOUT2ROUTE_PORT_SHIFT) in CMU_ClkOutPinConfig() 609 GPIO_PinModeSet(port, pin, gpioModePushPull, 0); in CMU_ClkOutPinConfig() 3158 GPIO_Port_TypeDef port, in CMU_HFXOStartCrystalSharingLeader() argument 3161 EFM_ASSERT(GPIO_PORT_PIN_VALID(port, pin)); in CMU_HFXOStartCrystalSharingLeader() [all …]
|
D | em_vdac.c | 366 | ((uint32_t)init->port << _VDAC_OUTCTRL_ABUSPORTSELCH0_SHIFT) in VDAC_InitChannel() 380 | ((uint32_t)init->port << _VDAC_OUTCTRL_ABUSPORTSELCH1_SHIFT) in VDAC_InitChannel()
|
/hal_silabs-3.7.0/gecko/platform/radio/rail_lib/common/ |
D | rail_types.h | 3670 uint8_t port; member
|