WB32L003 Standard Peripherals Firmware Library

Data Structures | Macros | Functions
wb32l003_beep.h File Reference

This file contains all the functions prototypes for the BEEP firmware library. More...

`#include "wb32l003.h"`

Go to the source code of this file.

## Data Structures
struct | BEEP_InitTypeDef
| BEEP Init structure definition. More...

## Macros
#define | IS_BEEP_ALL_PERIPH(PERIPH) (((PERIPH) == BEEP))
#define | BEEP_ClkSel_STOP ((uint32_t)(0x00U << BEEP_CSR_CLKSEL_Pos))
#define | BEEP_ClkSel_LSI ((uint32_t)(0x01U << BEEP_CSR_CLKSEL_Pos))
#define | BEEP_ClkSel_HSE ((uint32_t)(0x02U << BEEP_CSR_CLKSEL_Pos))
#define | BEEP_ClkSel_PCLK ((uint32_t)(0x03U << BEEP_CSR_CLKSEL_Pos))
#define | BEEP_OutDiv8 ((uint32_t)(0x00U << BEEP_CSR_BEEPSEL_Pos))
#define | BEEP_OutDiv4 ((uint32_t)(0x01U << BEEP_CSR_BEEPSEL_Pos))
#define | BEEP_OutDiv2 ((uint32_t)(0x02U << BEEP_CSR_BEEPSEL_Pos))
#define | IS_BEEP_CLK_SEL(SEL)
#define | IS_BEEP_PRESCALER(PRESCALER) ((PRESCALER) < 4096)
#define | IS_BEEP_OUT_DIV(DIV)

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

## Detailed Description

This file contains all the functions prototypes for the BEEP firmware library.

Author
  Westberry Application Team

Version
  V0.0.4

Date
  23-April-2023