Home
last modified time | relevance | path

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

/hal_infineon-3.4.0/XMCLib/drivers/src/
Dxmc_ledts.c281 uint8_t bit_shift_count = ((uint8_t)column & 0x03) * 8; in XMC_LEDTS_SetLEDLinePattern() local
286 reg &= (~(0xff << bit_shift_count)); in XMC_LEDTS_SetLEDLinePattern()
287 reg |= pattern << bit_shift_count; in XMC_LEDTS_SetLEDLinePattern()
299 uint8_t bit_shift_count = ((uint8_t)column & 0x03) * 8; in XMC_LEDTS_SetColumnBrightness() local
304 reg &= (~(0xff << bit_shift_count)); in XMC_LEDTS_SetColumnBrightness()
305 reg |= brightness << bit_shift_count; in XMC_LEDTS_SetColumnBrightness()
372 uint8_t bit_shift_count = ((uint8_t)touchpad & 0x03) * 8; in XMC_LEDTS_SetOscillationWindow() local
377 reg &= (~(0xff << bit_shift_count)); in XMC_LEDTS_SetOscillationWindow()
378 reg |= size << bit_shift_count; in XMC_LEDTS_SetOscillationWindow()