1˵
    չʾģ÷
    
2ʹû

    KEIL MDK-ARM 5.26
    Ӳ       N32G031C8L7-STB V1.0

3ʹ˵
    1ʱԴHSE+PLL
    2ʱӣ48MHz
    3˿ڣ
	   PA6		AF_PP
	   PA7		AF_PP

    4Բ
       aش븴λ
       bʾ鿴Σ֤
	
4ע
    1PA6PA7Ĳλ
    2ֽ֧LPRUNģʽʱƵΪpclk14Ƶֵ
    3APBʱƵѡĴλfreq_selֵƵβʧЧ

1. Function description
    This example shows the usage of the buzzer module.
    
2. Use environment
    Software  environment: KEIL MDK-ARM 5.26
    Hardware environment: N32G031C8L7-STB V1.0

3. Instructions for use
     1. Clock source: HSE+PLL
     2. Main clock: 48MHz
     3. Output port
        PA6		AF_PP
        PA7		AF_PP

     4. Test steps and phenomenon
        a. Compile and download the code to reset and run.
        b. View the waveform with an oscilloscope to verify the results.

4. Matters needing attention
     1. The waveforms of PA6 and PA7 are complementary.
     2. Support entering LPRUN mode, the output frequency is the 4 frequency division value of pclk1 at this time.
     3. The value of the APB clock frequency selection register bit (freq_sel) is determined according to the main frequency, 
        so that the output waveform will not be distorted.