/trusted-firmware-m-3.5.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_gpio.c | 97 void GPIO_PinInit(GPIO_Type *base, uint32_t port, uint32_t pin, const gpio_pin_config_t *config) in GPIO_PinInit() argument 104 base->DIRCLR[port] = 1UL << pin; in GPIO_PinInit() 106 base->DIR[port] &= ~(1UL << pin); in GPIO_PinInit() 114 base->CLR[port] = (1UL << pin); in GPIO_PinInit() 118 base->SET[port] = (1UL << pin); in GPIO_PinInit() 122 base->DIRSET[port] = 1UL << pin; in GPIO_PinInit() 124 base->DIR[port] |= 1UL << pin; in GPIO_PinInit() 138 void GPIO_SetPinInterruptConfig(GPIO_Type *base, uint32_t port, uint32_t pin, gpio_interrupt_config… in GPIO_SetPinInterruptConfig() argument 140 base->INTEDG[port] = (base->INTEDG[port] & ~(1UL << pin)) | ((uint32_t)config->mode << pin); in GPIO_SetPinInterruptConfig() 142 base->INTPOL[port] = (base->INTPOL[port] & ~(1UL << pin)) | ((uint32_t)config->polarity << pin); in GPIO_SetPinInterruptConfig() [all …]
|
D | fsl_gpio.h | 136 void GPIO_PinInit(GPIO_Type *base, uint32_t port, uint32_t pin, const gpio_pin_config_t *config); 153 static inline void GPIO_PinWrite(GPIO_Type *base, uint32_t port, uint32_t pin, uint8_t output) in GPIO_PinWrite() argument 155 base->B[port][pin] = output; in GPIO_PinWrite() 172 static inline uint32_t GPIO_PinRead(GPIO_Type *base, uint32_t port, uint32_t pin) in GPIO_PinRead() argument 174 return (uint32_t)base->B[port][pin]; in GPIO_PinRead() 278 void GPIO_SetPinInterruptConfig(GPIO_Type *base, uint32_t port, uint32_t pin, gpio_interrupt_config… 329 void GPIO_PinEnableInterrupt(GPIO_Type *base, uint32_t port, uint32_t pin, uint32_t index); 339 void GPIO_PinDisableInterrupt(GPIO_Type *base, uint32_t port, uint32_t pin, uint32_t index); 350 void GPIO_PinClearInterruptFlag(GPIO_Type *base, uint32_t port, uint32_t pin, uint32_t index);
|
D | fsl_iocon.h | 42 uint8_t pin; /* Pin number */ member 182 __STATIC_INLINE void IOCON_PinMuxSet(IOCON_Type *base, uint8_t port, uint8_t pin, uint32_t modefunc) 184 base->PIO[port][pin] = modefunc; 204 IOCON_PinMuxSet(base, pinArray[i].port, pinArray[i].pin, pinArray[i].modefunc); in IOCON_SetPinMuxing()
|
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | gpio.h | 117 # define PA_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 119 # define PA_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 139 # define PB_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 141 # define PB_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 161 # define PC_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 163 # define PC_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 181 # define PD_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 183 # define PD_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 202 # define PE_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 204 # define PE_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… [all …]
|
D | timer_pwm.h | 710 … TPWM_SET_BRAKE_PIN_SOURCE(timer, pin) ((timer)->PWMBNF = ((timer)->PWMBNF & ~TIMER_PWMBNF_B… argument
|
/trusted-firmware-m-3.5.0/docs/platform/arm/musca_s1/ |
D | readme.rst | 14 Platform pin service 17 This service is designed to perform secure pin services of the platform 18 (e.g alternate function setting, pin mode setting, etc). 20 non-secure application to make pin service requests on Musca S1 based on a
|
/trusted-firmware-m-3.5.0/docs/platform/arm/musca_b1/ |
D | readme.rst | 19 Platform pin service 22 This service is designed to perform secure pin services of the platform 23 (e.g alternate function setting, pin mode setting, etc). 25 non-secure application to make pin service requests on Musca B1 based on a
|
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
D | timer_pwm.h | 841 … TPWM_SET_BRAKE_PIN_SOURCE(timer, pin) ((timer)->PWMBNF = ((timer)->PWMBNF & ~TIMER_PWMBNF_B… argument
|
D | gpio.h | 658 #define GPIO_PIN_DATA_S(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) +… argument 767 #define GPIO_PIN_DATA_NS(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40… argument
|