Home
last modified time | relevance | path

Searched refs:P (Results 1 – 25 of 27) sorted by relevance

12

/hal_silabs-latest/simplicity_sdk/platform/emlib/inc/
Dem_gpio.h1061 return BUS_RegBitRead(&GPIO->P[port].DIN, pin); in GPIO_PinInGet()
1078 BUS_RegBitWrite(&GPIO->P[port].PINLOCKN, pin, 0); in GPIO_PinLock()
1109 GPIO->P[port].DOUTCLR = 1UL << pin; in GPIO_PinOutClear()
1113 BUS_RegMaskedClear(&GPIO->P[port].DOUT, 1UL << pin); in GPIO_PinOutClear()
1134 return BUS_RegBitRead(&GPIO->P[port].DOUT, pin); in GPIO_PinOutGet()
1156 GPIO->P[port].DOUTSET = 1UL << pin; in GPIO_PinOutSet()
1160 BUS_RegMaskedSet(&GPIO->P[port].DOUT, 1UL << pin); in GPIO_PinOutSet()
1184 GPIO->P[port].DOUTTGL = 1UL << pin; in GPIO_PinOutToggle()
1188 GPIO->P[port].DOUT ^= 1UL << pin; in GPIO_PinOutToggle()
1206 return GPIO->P[port].DIN; in GPIO_PortInGet()
[all …]
Dem_chip.h229 GPIO->P[port].CTRL = setVal | resetVal; in CHIP_Init()
/hal_silabs-latest/gecko/emlib/inc/
Dem_gpio.h976 return BUS_RegBitRead(&GPIO->P[port].DIN, pin); in GPIO_PinInGet()
993 BUS_RegBitWrite(&GPIO->P[port].PINLOCKN, pin, 0); in GPIO_PinLock()
1024 GPIO->P[port].DOUTCLR = 1UL << pin; in GPIO_PinOutClear()
1028 BUS_RegMaskedClear(&GPIO->P[port].DOUT, 1UL << pin); in GPIO_PinOutClear()
1049 return BUS_RegBitRead(&GPIO->P[port].DOUT, pin); in GPIO_PinOutGet()
1071 GPIO->P[port].DOUTSET = 1UL << pin; in GPIO_PinOutSet()
1075 BUS_RegMaskedSet(&GPIO->P[port].DOUT, 1UL << pin); in GPIO_PinOutSet()
1099 GPIO->P[port].DOUTTGL = 1UL << pin; in GPIO_PinOutToggle()
1103 GPIO->P[port].DOUT ^= 1UL << pin; in GPIO_PinOutToggle()
1121 return GPIO->P[port].DIN; in GPIO_PortInGet()
[all …]
Dem_chip.h225 GPIO->P[port].CTRL = setVal | resetVal; in CHIP_Init()
/hal_silabs-latest/simplicity_sdk/platform/peripheral/inc/
Dsl_hal_gpio.h450 GPIO->P[port].DOUT = (GPIO->P[port].DOUT & ~mask) | (val & mask); in sl_hal_gpio_set_port_value()
466 GPIO->P[port].CTRL = (GPIO->P[port].CTRL in sl_hal_gpio_set_slew_rate()
484 GPIO->P[port].CTRL = (GPIO->P[port].CTRL in sl_hal_gpio_set_slew_rate_alternate()
500 return (GPIO->P[port].CTRL & _GPIO_P_CTRL_SLEWRATE_MASK) >> _GPIO_P_CTRL_SLEWRATE_SHIFT; in sl_hal_gpio_get_slew_rate()
514 return (GPIO->P[port].CTRL & _GPIO_P_CTRL_SLEWRATEALT_MASK) >> _GPIO_P_CTRL_SLEWRATEALT_SHIFT; in sl_hal_gpio_get_slew_rate_alternate()
556 bool pin_input = ((GPIO->P[gpio->port].DIN) >> gpio->pin) & 1UL; in sl_hal_gpio_get_pin_input()
573 bool pin_output = ((GPIO->P[gpio->port].DOUT) >> gpio->pin) & 1UL; in sl_hal_gpio_get_pin_output()
589 return GPIO->P[port].DIN; in sl_hal_gpio_get_port_input()
603 return GPIO->P[port].DOUT; in sl_hal_gpio_get_port_output()
/hal_silabs-latest/gecko/emlib/src/
Dem_gpio.c106 GPIO->P[port].CTRL = (GPIO->P[port].CTRL & ~(_GPIO_P_CTRL_DRIVEMODE_MASK)) in GPIO_DriveModeSet()
126 BUS_RegMaskedWrite(&GPIO->P[port].CTRL, in GPIO_DriveStrengthSet()
369 BUS_RegMaskedWrite(&(GPIO->P[port].MODEL), 0xFu << (pin * 4), (uint32_t)mode << (pin * 4)); in GPIO_PinModeSet()
371 …BUS_RegMaskedWrite(&(GPIO->P[port].MODEH), 0xFu << ((pin - 8) * 4), (uint32_t)mode << ((pin - 8) *… in GPIO_PinModeSet()
402 return (GPIO_Mode_TypeDef) ((GPIO->P[port].MODEL >> (pin * 4)) & 0xF); in GPIO_PinModeGet()
404 return (GPIO_Mode_TypeDef) ((GPIO->P[port].MODEH >> ((pin - 8) * 4)) & 0xF); in GPIO_PinModeGet()
/hal_silabs-latest/simplicity_sdk/platform/emlib/src/
Dem_gpio.c106 GPIO->P[port].CTRL = (GPIO->P[port].CTRL & ~(_GPIO_P_CTRL_DRIVEMODE_MASK)) in GPIO_DriveModeSet()
126 BUS_RegMaskedWrite(&GPIO->P[port].CTRL, in GPIO_DriveStrengthSet()
369 BUS_RegMaskedWrite(&(GPIO->P[port].MODEL), 0xFu << (pin * 4), (uint32_t)mode << (pin * 4)); in GPIO_PinModeSet()
371 …BUS_RegMaskedWrite(&(GPIO->P[port].MODEH), 0xFu << ((pin - 8) * 4), (uint32_t)mode << ((pin - 8) *… in GPIO_PinModeSet()
402 return (GPIO_Mode_TypeDef) ((GPIO->P[port].MODEL >> (pin * 4)) & 0xF); in GPIO_PinModeGet()
404 return (GPIO_Mode_TypeDef) ((GPIO->P[port].MODEH >> ((pin - 8) * 4)) & 0xF); in GPIO_PinModeGet()
/hal_silabs-latest/simplicity_sdk/platform/peripheral/src/
Dsl_hal_gpio.c195 …sl_hal_bus_reg_write_mask(&(GPIO->P[gpio->port].MODEL), 0xFu << (gpio->pin * 4), gpio_mode << (gpi… in sl_hal_gpio_set_pin_mode()
197 …sl_hal_bus_reg_write_mask(&(GPIO->P[gpio->port].MODEH), 0xFu << ((gpio->pin - 8) * 4), gpio_mode <… in sl_hal_gpio_set_pin_mode()
222 mode = (sl_gpio_mode_t) ((GPIO->P[gpio->port].MODEL >> (gpio->pin * 4)) & 0xF); in sl_hal_gpio_get_pin_mode()
224 mode = (sl_gpio_mode_t) ((GPIO->P[gpio->port].MODEH >> ((gpio->pin - 8) * 4)) & 0xF); in sl_hal_gpio_get_pin_mode()
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32HG/Include/
Defm32hg_gpio.h47 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32WG/Include/
Defm32wg_gpio.h47 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFR32FG1P/Include/
Defr32fg1p_gpio.h48 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32PG1B/Include/
Defm32pg1b_gpio.h48 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32GG12B/Include/
Defm32gg12b_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFR32BG13P/Include/
Defr32bg13p_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFR32FG13P/Include/
Defr32fg13p_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFR32MG12P/Include/
Defr32mg12p_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32MG21/Include/
Defr32mg21_gpio.h132 …GPIO_PORT_TypeDef P[4U]; /**< … member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32JG12B/Include/
Defm32jg12b_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32GG11B/Include/
Defm32gg11b_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/gecko/Device/SiliconLabs/EFM32PG12B/Include/
Defm32pg12b_gpio.h48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
/hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32BG22/Include/
Defr32bg22_gpio.h159 …GPIO_PORT_TypeDef P[4U]; /**< … member
/hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32BG27/Include/
Defr32bg27_gpio.h164 …GPIO_PORT_TypeDef P[4U]; /**< … member
/hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32MG29/Include/
Defr32mg29_gpio.h164 …GPIO_PORT_TypeDef P[4U]; /**< … member
/hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32BG29/Include/
Defr32bg29_gpio.h164 …GPIO_PORT_TypeDef P[4U]; /**< … member
/hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32MG24/Include/
Defr32mg24_gpio.h199 …GPIO_PORT_TypeDef P[4U]; /**< … member

12