|
STM32G474xx HAL用户手册
|
函数 | |
| __STATIC_INLINE void | LL_I2S_Enable (SPI_TypeDef *SPIx) |
| 选择I2S模式并使能I2S外设。 | |
| __STATIC_INLINE void | LL_I2S_Disable (SPI_TypeDef *SPIx) |
| 禁用I2S外设。 | |
| __STATIC_INLINE uint32_t | LL_I2S_IsEnabled (const SPI_TypeDef *SPIx) |
| 检查I2S外设是否已使能。 | |
| __STATIC_INLINE void | LL_I2S_SetDataFormat (SPI_TypeDef *SPIx, uint32_t DataFormat) |
| 设置I2S数据帧长度。 | |
| __STATIC_INLINE uint32_t | LL_I2S_GetDataFormat (const SPI_TypeDef *SPIx) |
| 获取I2S数据帧长度。 | |
| __STATIC_INLINE void | LL_I2S_SetClockPolarity (SPI_TypeDef *SPIx, uint32_t ClockPolarity) |
| 设置I2S时钟极性。 | |
| __STATIC_INLINE uint32_t | LL_I2S_GetClockPolarity (const SPI_TypeDef *SPIx) |
| 获取I2S时钟极性。 | |
| __STATIC_INLINE void | LL_I2S_SetStandard (SPI_TypeDef *SPIx, uint32_t Standard) |
| 设置I2S标准协议。 | |
| __STATIC_INLINE uint32_t | LL_I2S_GetStandard (const SPI_TypeDef *SPIx) |
| 获取I2S标准协议。 | |
| __STATIC_INLINE void | LL_I2S_SetTransferMode (SPI_TypeDef *SPIx, uint32_t Mode) |
| 设置I2S传输模式。 | |
| __STATIC_INLINE uint32_t | LL_I2S_GetTransferMode (const SPI_TypeDef *SPIx) |
| 获取I2S传输模式。 | |
| __STATIC_INLINE void | LL_I2S_SetPrescalerLinear (SPI_TypeDef *SPIx, uint8_t PrescalerLinear) |
| 设置I2S线性预分频器。 | |
| __STATIC_INLINE uint32_t | LL_I2S_GetPrescalerLinear (const SPI_TypeDef *SPIx) |
| 获取I2S线性预分频器。 | |
| __STATIC_INLINE void | LL_I2S_SetPrescalerParity (SPI_TypeDef *SPIx, uint32_t PrescalerParity) |
| 设置I2S奇偶校验预分频器。 | |
| __STATIC_INLINE uint32_t | LL_I2S_GetPrescalerParity (const SPI_TypeDef *SPIx) |
| 获取I2S奇偶校验预分频器。 | |
| __STATIC_INLINE void | LL_I2S_EnableMasterClock (SPI_TypeDef *SPIx) |
| 使能主时钟输出(MCK引脚) | |
| __STATIC_INLINE void | LL_I2S_DisableMasterClock (SPI_TypeDef *SPIx) |
| 禁用主时钟输出(MCK引脚) | |
| __STATIC_INLINE uint32_t | LL_I2S_IsEnabledMasterClock (const SPI_TypeDef *SPIx) |
| 检查主时钟输出(MCK引脚)是否已使能。 | |
| __STATIC_INLINE void | LL_I2S_EnableAsyncStart (SPI_TypeDef *SPIx) |
| 使能异步启动。 | |
| __STATIC_INLINE void | LL_I2S_DisableAsyncStart (SPI_TypeDef *SPIx) |
| 禁用异步启动。 | |
| __STATIC_INLINE uint32_t | LL_I2S_IsEnabledAsyncStart (const SPI_TypeDef *SPIx) |
| 检查异步启动是否已使能。 | |
| __STATIC_INLINE void LL_I2S_Disable | ( | SPI_TypeDef * | SPIx | ) |
禁用I2S外设。
| SPIx | SPI实例 |
| 无 |
定义于文件1663行,文件stm32g4xx_ll_spi.h。
| __STATIC_INLINE void LL_I2S_DisableAsyncStart | ( | SPI_TypeDef * | SPIx | ) |
禁用异步启动。
| SPIx | SPI实例 |
| 无 |
定义于文件1906行,文件stm32g4xx_ll_spi.h。
| __STATIC_INLINE void LL_I2S_DisableMasterClock | ( | SPI_TypeDef * | SPIx | ) |
禁用主时钟输出(MCK引脚)
| SPIx | SPI实例 |
| 无 |
定义于文件1872行,文件stm32g4xx_ll_spi.h。
| __STATIC_INLINE void LL_I2S_Enable | ( | SPI_TypeDef * | SPIx | ) |
选择I2S模式并使能I2S外设。
| SPIx | SPI实例 |
| 无 |
定义于文件1652行,文件stm32g4xx_ll_spi.h。
| __STATIC_INLINE void LL_I2S_EnableAsyncStart | ( | SPI_TypeDef * | SPIx | ) |
使能异步启动。
| SPIx | SPI实例 |
| 无 |
定义于文件1895行,文件stm32g4xx_ll_spi.h。
| __STATIC_INLINE void LL_I2S_EnableMasterClock | ( | SPI_TypeDef * | SPIx | ) |
使能主时钟输出(MCK引脚)
| SPIx | SPI实例 |
| 无 |
定义于文件1861行,文件stm32g4xx_ll_spi.h。
| __STATIC_INLINE uint32_t LL_I2S_GetClockPolarity | ( | const SPI_TypeDef * | SPIx | ) |
获取I2S时钟极性。
| SPIx | SPI实例 |
| 返回值 | 可以是以下值之一: |
定义于文件1734行,文件stm32g4xx_ll_spi.h。