MG32F10x Standard Peripherals Firmware Library
Functions
mg32f10x_sfm.c File Reference

This file provides all the SFM firmware functions. More...

#include "mg32f10x_sfm.h"
#include "mg32f10x_rcc.h"

Functions

void CRC_SFM_DeInit (void)
 Deinitializes the CRC and SFM peripheral registers to their default reset values. More...
 
uint32_t SFM_ComputeBit1Number (uint32_t Data)
 Returns the number of bit 1 in a word(32-bit). More...
 
void SFM_ExpandBits (uint32_t Data, uint32_t *pBuffer, uint32_t ExpandRate)
 Expand a word(32-bit) with specified rate. More...
 
void SFM_USBPort_DetectConfig (uint32_t SFM_USBP_DETECT, FunctionalState NewState)
 Configure the USB Port state detect function. More...
 
FlagStatus SFM_USBPort_GetFlagStatus (uint32_t SFM_USBP_FLAG)
 Checks whether the specified USB Port flag is set or not. More...
 
void SFM_USBPort_ClearFlag (uint32_t SFM_USBP_FLAG)
 Clears the USB Port's pending flags. More...
 

Detailed Description

This file provides all the SFM firmware functions.

Author
megawin Application Team
Version
V0.1.10
Date
05-January-2023