| /hal_silabs-latest/simplicity_sdk/platform/emlib/inc/ |
| D | em_gpio.h | 1061 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 …]
|
| D | em_chip.h | 229 GPIO->P[port].CTRL = setVal | resetVal; in CHIP_Init()
|
| /hal_silabs-latest/gecko/emlib/inc/ |
| D | em_gpio.h | 976 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 …]
|
| D | em_chip.h | 225 GPIO->P[port].CTRL = setVal | resetVal; in CHIP_Init()
|
| /hal_silabs-latest/simplicity_sdk/platform/peripheral/inc/ |
| D | sl_hal_gpio.h | 450 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/ |
| D | em_gpio.c | 106 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/ |
| D | em_gpio.c | 106 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/ |
| D | sl_hal_gpio.c | 195 …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/ |
| D | efm32hg_gpio.h | 47 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFM32WG/Include/ |
| D | efm32wg_gpio.h | 47 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFR32FG1P/Include/ |
| D | efr32fg1p_gpio.h | 48 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFM32PG1B/Include/ |
| D | efm32pg1b_gpio.h | 48 GPIO_P_TypeDef P[6U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFM32GG12B/Include/ |
| D | efm32gg12b_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFR32BG13P/Include/ |
| D | efr32bg13p_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFR32FG13P/Include/ |
| D | efr32fg13p_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFR32MG12P/Include/ |
| D | efr32mg12p_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32MG21/Include/ |
| D | efr32mg21_gpio.h | 132 …GPIO_PORT_TypeDef P[4U]; /**< … member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFM32JG12B/Include/ |
| D | efm32jg12b_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFM32GG11B/Include/ |
| D | efm32gg11b_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFM32PG12B/Include/ |
| D | efm32pg12b_gpio.h | 48 GPIO_P_TypeDef P[12U]; /**< Port configuration bits */ member
|
| /hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32BG22/Include/ |
| D | efr32bg22_gpio.h | 159 …GPIO_PORT_TypeDef P[4U]; /**< … member
|
| /hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32BG27/Include/ |
| D | efr32bg27_gpio.h | 164 …GPIO_PORT_TypeDef P[4U]; /**< … member
|
| /hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32MG29/Include/ |
| D | efr32mg29_gpio.h | 164 …GPIO_PORT_TypeDef P[4U]; /**< … member
|
| /hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32BG29/Include/ |
| D | efr32bg29_gpio.h | 164 …GPIO_PORT_TypeDef P[4U]; /**< … member
|
| /hal_silabs-latest/simplicity_sdk/platform/Device/SiliconLabs/EFR32MG24/Include/ |
| D | efr32mg24_gpio.h | 199 …GPIO_PORT_TypeDef P[4U]; /**< … member
|