Home
last modified time | relevance | path

Searched refs:hw (Results 1 – 2 of 2) sorted by relevance

/hal_ti-latest/simplelink/source/ti/drivers/apps/
DButton.c84 Button_HWAttrs *hw = (Button_HWAttrs *)handle->hwAttrs; in Button_close() local
85 GPIO_disableInt(hw->gpioIndex); in Button_close()
104 Button_HWAttrs *hw = (Button_HWAttrs*) Button_config[i].hwAttrs; in Button_gpioCallbackFxn() local
105 if(hw->gpioIndex == index) in Button_gpioCallbackFxn()
162 Button_HWAttrs *hw; in Button_clockTimeoutHandler() local
169 hw = (Button_HWAttrs*)buttonHandle->hwAttrs; in Button_clockTimeoutHandler()
170 GPIO_getConfig(hw->gpioIndex,&pinConfig); in Button_clockTimeoutHandler()
172 if(GPIO_read(hw->gpioIndex) == obj->buttonPull) in Button_clockTimeoutHandler()
259 GPIO_setConfig(hw->gpioIndex, in Button_clockTimeoutHandler()
265 GPIO_setConfig(hw->gpioIndex, in Button_clockTimeoutHandler()
[all …]
DLED.c143 LED_HWAttrs *hw; in LED_open() local
149 hw = (LED_HWAttrs *)(LED_config[ledIndex].hwAttrs); in LED_open()
169 if(hw->type == LED_PWM_CONTROLLED) in LED_open()
183 obj->pwmHandle = PWM_open(hw->index, &pwmParams); in LED_open()
202 obj->gpioIndex = hw->index; in LED_open()