/**************************************************************************** Copyright (c) 2010 Lantiq Deutschland GmbH Am Campeon 3; 85579 Neubiberg, Germany For licensing information, see the file 'LICENSE' in the root folder of this software module. *****************************************************************************/ /*! \file ifxmips_usif_spi_vr9.h \ingroup IFX_USIF_SPI \brief USIF SPI driver VR9 specific file */ #ifndef IFXMIPS_USIF_SPI_VR9_H #define IFXMIPS_USIF_SPI_VR9_H #include static inline void ifx_usif_spi_pm_enable(void) { /* Activate USIF SPI and AHB Master */ USIF_PMU_SETUP(IFX_PMU_ENABLE); AHBM_PMU_SETUP(IFX_PMU_ENABLE); } static inline void ifx_usif_spi_pm_disable(void) { USIF_PMU_SETUP(IFX_PMU_DISABLE); AHBM_PMU_SETUP(IFX_PMU_DISABLE); } #endif /* IFXMIPS_USIF_SPI_VR9_H */