WB32L003 Standard Peripherals Firmware Library
函数
BEEP_Private_Functions

函数

void BEEP_DeInit (BEEP_TypeDef *BEEPx)
 Deinitializes the BEEP peripheral registers to their default reset values. 更多...
 
void BEEP_Init (BEEP_TypeDef *BEEPx, BEEP_InitTypeDef *BEEP_InitStruct)
 Initializes the BEEP peripheral according to the specified parameters in the BEEP_InitStruct. 更多...
 
void BEEP_Cmd (BEEP_TypeDef *BEEPx, FunctionalState NewState)
 Enables or disables BEEP peripheral. 更多...
 

详细描述

函数说明

◆ BEEP_Cmd()

void BEEP_Cmd ( BEEP_TypeDef BEEPx,
FunctionalState  NewState 
)

Enables or disables BEEP peripheral.

参数
BEEPxPointer to selected BEEP peripheral. This parameter can be one of the following values: BEEP.
NewStateThe new state of the BEEP peripheral. This parameter can be: ENABLE or DISABLE.
返回值
None

◆ BEEP_DeInit()

void BEEP_DeInit ( BEEP_TypeDef BEEPx)

Deinitializes the BEEP peripheral registers to their default reset values.

参数
BEEPxPointer to selected BEEP peripheral. This parameter can be one of the following values: BEEP.
返回值
None

◆ BEEP_Init()

void BEEP_Init ( BEEP_TypeDef BEEPx,
BEEP_InitTypeDef BEEP_InitStruct 
)

Initializes the BEEP peripheral according to the specified parameters in the BEEP_InitStruct.

参数
BEEPxPointer to selected BEEP peripheral. This parameter can be one of the following values: BEEP.
BEEP_InitStructPointer to BEEP initialization struct
返回值
None