The OMAP L1XX HAL provides a number of macros to support the
management of peripheral power. The macro
CYGHWR_HAL_L1XX_POWER( device ) encodes a
power control descriptor into a 32 bit value. The argument is the
name of the device to be described.
The remaining functions all take a peripheral power descriptor as
an argument. CYGHWR_HAL_L1XX_POWER_ENABLE( desc
) transitions the given device to enabled state in its
PSC controller. Likewise CYGHWR_HAL_L1XX_POWER_DISABLE(
desc ) transitions the device to disabled state.