Home
last modified time | relevance | path

Searched refs:pinIndex (Results 1 – 10 of 10) sorted by relevance

/loramac-node-latest/src/peripherals/
Dgpio-ioe.c39 obj->pinIndex = ( 0x01 << pin % 16 ); in GpioIoeInit()
44 obj->pinIndex = ( obj->pinIndex >> 8 ) & 0x00FF; in GpioIoeInit()
49 obj->pinIndex = ( obj->pinIndex ) & 0x00FF; in GpioIoeInit()
56 regVal = regVal & ~obj->pinIndex; in GpioIoeInit()
60 regVal = regVal | obj->pinIndex; in GpioIoeInit()
70 SX1509Write( RegOpenDrainB, tempVal | obj->pinIndex ); in GpioIoeInit()
74 SX1509Write( RegOpenDrainB, tempVal & ~obj->pinIndex ); in GpioIoeInit()
83 SX1509Write( RegOpenDrainA, tempVal | obj->pinIndex ); in GpioIoeInit()
87 SX1509Write( RegOpenDrainA, tempVal & ~obj->pinIndex ); in GpioIoeInit()
97 regVal = regVal & ~obj->pinIndex; in GpioIoeInit()
[all …]
/loramac-node-latest/src/boards/SKiM880B/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
76 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
150 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
188 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
247 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
273 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
298 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
322 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/SKiM881AXL/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
75 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
149 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
187 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
238 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
264 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
289 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
313 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/NucleoL152/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
76 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
150 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
188 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
247 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
273 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
298 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
322 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/NAMote72/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
76 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
150 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
188 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
247 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
273 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
298 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
322 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/NucleoL476/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
76 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
150 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
188 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
247 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
273 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
298 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
322 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
75 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
149 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
187 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
238 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
264 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
289 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
313 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/NucleoL073/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
75 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
149 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
187 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
238 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
264 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
289 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
313 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/boards/SKiM980A/
Dgpio-board.c48 obj->pinIndex = ( 0x01 << ( obj->pin & 0x0F ) ); in GpioMcuInit()
76 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
150 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
188 switch( obj->pinIndex ) in GpioMcuSetInterrupt()
247 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
273 HAL_GPIO_WritePin( obj->port, obj->pinIndex , ( GPIO_PinState )value ); in GpioMcuWrite()
298 HAL_GPIO_TogglePin( obj->port, obj->pinIndex ); in GpioMcuToggle()
322 return HAL_GPIO_ReadPin( obj->port, obj->pinIndex ); in GpioMcuRead()
/loramac-node-latest/src/system/
Dgpio.h115 uint16_t pinIndex; member