1˵
    1SQRTִһοжͨڷ̺
2ʹû
      KEIL MDK-ARM V5.30.0.0
    Ӳ      N32G031C8L7-STB V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
                    HSE=8M,PLL=48M,AHB=48M,APB1=48M,APB2=48M,SQRT CLK=48M
        2˿ã
                    PA9ѡΪ
                    PA10ѡΪ
        3HDIV
                    SQRTжϴȼ0 123456Ľ
    ʹ÷
        1򿪵ģʽSQRTļĴ
        2ִк󣬿ԿĽΪ351ͬʱҲӡϢ
4ע
    


1. Function description
     1. SQRT executes a square root, and sends the quotient and remainder through the serial port in the completion interrupt
2. Use environment
     Software development environment: KEIL MDK-ARM V5.30.0.0
     Hardware Environment: Developed based on N32G031C8L7-STB V1.0
3. Instructions for use
     System Configuration;
         1. Clock source:
                     HSE=8M,PLL=48M,AHB=48M,APB1=48M,APB2=48M,SQRT CLK=48M
         2. Port configuration:
                     PA9 is selected as serial output
                     PA10 is selected as serial input
         3. HDIV:
                     SQRT interrupt open priority 0, calculate the result of 123456 square root
     Instructions:
         1. Open the debug mode after compiling, and open the register of the variable SQRT
         2. After the program is executed, you can see that the result of the square is 351, and the serial port will also print relevant information
4. Matters needing attention
     none