Lines Matching refs:pin
35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
37 if( pin < IOE_0 ) in GpioMcuInit()
41 obj->pin = pin; in GpioMcuInit()
43 if( pin == NC ) in GpioMcuInit()
48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
50 if( ( obj->pin & 0xF0 ) == 0x00 ) in GpioMcuInit()
55 else if( ( obj->pin & 0xF0 ) == 0x10 ) in GpioMcuInit()
60 else if( ( obj->pin & 0xF0 ) == 0x20 ) in GpioMcuInit()
65 else if( ( obj->pin & 0xF0 ) == 0x30 ) in GpioMcuInit()
123 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
135 if( obj->pin < IOE_0 ) in GpioMcuSetInterrupt()
215 GpioIrq[( obj->pin ) & 0x0F] = obj; in GpioMcuSetInterrupt()
231 if( obj->pin < IOE_0 ) in GpioMcuRemoveInterrupt()
234 GpioIrq[( obj->pin ) & 0x0F] = NULL; in GpioMcuRemoveInterrupt()
253 if( obj->pin < IOE_0 ) in GpioMcuWrite()
260 if( obj->pin == NC ) in GpioMcuWrite()
277 if( obj->pin < IOE_0 ) in GpioMcuToggle()
285 if( obj->pin == NC ) in GpioMcuToggle()
302 if( obj->pin < IOE_0 ) in GpioMcuRead()
309 if( obj->pin == NC ) in GpioMcuRead()