Searched refs:clkEnab (Results 1 – 1 of 1) sorted by relevance
277 uint32_t clkEnab = (uint32_t) clk; in Chip_Clock_EnablePeriphClock() local279 if (clkEnab >= 32) { in Chip_Clock_EnablePeriphClock()280 LPC_SYSCTL->SYSAHBCLKCTRL[1] |= (1 << (clkEnab - 32)); in Chip_Clock_EnablePeriphClock()283 LPC_SYSCTL->SYSAHBCLKCTRL[0] |= (1 << clkEnab); in Chip_Clock_EnablePeriphClock()290 uint32_t clkEnab = (uint32_t) clk; in Chip_Clock_DisablePeriphClock() local292 if (clkEnab >= 32) { in Chip_Clock_DisablePeriphClock()293 LPC_SYSCTL->SYSAHBCLKCTRL[1] &= ~(1 << (clkEnab - 32)); in Chip_Clock_DisablePeriphClock()296 LPC_SYSCTL->SYSAHBCLKCTRL[0] &= ~(1 << clkEnab); in Chip_Clock_DisablePeriphClock()
Completed in 2 milliseconds