Home
last modified time | relevance | path

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

/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/
A Dclock_15xx.c277 uint32_t clkEnab = (uint32_t) clk; in Chip_Clock_EnablePeriphClock() local
279 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() local
292 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