WB32F10x Standard Peripherals Firmware Library

WB32F10x StdPeriph_Lib Examples
This package contains the following examples:
Note: All examples assume the selected model has a maximum frequency of 96MHz, a flash size of 256KB, and a sram size of 36KB. When using an example, please make corresponding adjustments according to the actual model used.

IP/Module | Example
--- | ---
Name | Brief description
ADC | ADC_AnalogWatchdog | This example describes how to use the ADC analog watchdog to guard continuously an ADC channel.
ADC_ChipTemperature | This example describes how to use the ADC Channel16 to get the chip temperature.
ADC_DMA | This example describes how to use the ADC and DMAC to transfer continuously converted data of regular group from ADC to memory.
ADC_DMA_Injected | This example describes how to use the ADC and DMAC to transfer continuously converted data of injected group from ADC to memory.
ADC_GetVDD | This example describes how to use the ADC Channel17 to obtain the external power supply voltage.
ADC_ExtLinesTrigger | This example describes how to trigger ADC regular and injected groups channels conversion using two external line events.
ADC_Interrupt | This example describes how to use the ADC EOC interrupt to read the conversion result.
ADC_TIMTrigger_AutoInjection | This example describes how to convert ADC regular group channels continuously using TIM1 external trigger and injected group channels using the auto-injected feature.
ANCTL | ANCTL_CMP | This example describes how to use the analog comparator.
ANCTL_DCSS | This example describes how to use the HSE clock failure detection feature.
BKP | BKP_Backup_Data | This example describes how to store user data in the Backup data registers.
BKP_Tamper | This example shows how to write/read data to/from Backup data registers and demonstrates the Tamper detection feature.
CRC | CRC_Calculation | This example describes how to use the CRC module to calculate the CRC checksum of byte arrays, half-word (16-bit) arrays and word (32-bit) arrays based on different polynomials and different calculation configurations.
DMAC | DMAC_MemoryToMemory | This example describes how to use DMAC to transfer data from Memory to Memory.
DMAC_MemoryToUart | This example describes how to use DMAC to transfer data from Memory to UART.
DMAC_MemoryToUart_MultiBlock | This example describes how to use DMAC to transfer data from Memory to UART cyclically.
DMAC_UartToMemory | This example describes how to use DMAC to transfer data received by UART to Memory.
DMAC_UartToMemory_MultiBlock | This example describes how to use DMAC to continuously transfer data received by UART to Memory.
DMAC_UartToUart_MultiBlock | This example describes how to use DMAC to transfer data received by UART to UART.
EXTI | EXTI_Config | This example describes how to configure external interrupt lines.
FMC | FMC_CalculateCRC | This example describes how to use the FMC CRC function.
FMC_Program | This example describes how to program the on-chip FLASH.
GPIO | GPIO_BitBand | This example describes how to use the bit-banding feature to read GPIO input and control GPIO output.
GPIO_I2C_Master | This example describes how to use GPIO to simulate I2C protocol to read and write EEPROM 24C02.
GPIO_InputOutput | This example describes how to read GPIO input and control GPIO output.
GPIO_IOToggle | This example describes how to toggle the GPIO output.
I2C | I2C_24C02 | This example describes how to use the I2C firmware library and an driver to communicate with an EEPROM 24C02 device.
I2C_24C02_Interrupt | This example describes how to use the I2C firmware library and an driver to communicate with an EEPROM 24C02 device.(Achieved by interruption).
I2C_Master_HighSpeed | This example describes I2C2's high-speed mode.
I2C_MasterDMARx_SlaveDMATx | This example describes The I2C Master receives data using DMA and The I2C slave transmits data using DMA.
I2C_MasterDMATx_SlaveDMARx | This example describes The I2C Master transmits data using DMA and The I2C slave receives data using DMA.
I2C_Simulate_24C02 | This example describes how to use I2C slave mode to simulate a 24C02 (EEPROM).
I2C_SMBus_Master | This example describes how to use the I2C SMBus mode.
I2S | I2S_PlayAudio | This example describes how to use the I2S peripheral to play audio.
I2S_RecordPlayAudio | This example describes how to use the I2S peripheral to record and play audio.
IWDG | IWDG_Reset | This example describes how to use the IWDG.
LED | LED_Example | This example describes how to use the LED module to control the display of four 7-segment digital tubes.
NVIC | NVIC_DMA_WFIMode | This example describes how to wake up from this mode through the DMA transfer end interrupt,when DMA transfer is enabled and the system enters WFI mode.
NVIC_IRQ_Mask | This example describes the use of the Nested Vectored Interrupt Controller (NVIC) IRQ Channels configuration and how to mask/activate different IRQs.
NVIC_IRQ_Priority | This example describes the use of the Nested Vectored Interrupt Controller (NVIC).
PWR | PWR_PVD | This example describes how to use the the programmable voltage detector (PVD) function.
PWR_SLEEP | This example describes how to enters the SLEEP mode and wake-up from this mode using external interrupt.
PWR_STANDBY | This example describes how to enters the system to STANDBY mode and wake-up from this mode.
PWR_STOP | This example describes how to enters the STOP mode and wake-up from this mode using external interrupt.
RCC | RCC_ClockConfig | This example describes how to configure the system clock (external 8MHz crystal oscillator is multiplied to 96MHz by PLL).
RCC_ClockConfig2 | This example describes how to configure the system clock (MHSI is multiplied to 96MHz by PLL).
RNG | RNG_Example | This example describes how to use the RNG peripheral to generate random numbers.
RTC | RTC_Calendar | This example describes how to use the RTC peripheral.
SFM | SFM_ComputeBit1 | This example describes how to use the SFM to count the number of binary number 1 in a WORD (32bit) data.
SFM_ExpandBits | This example describes how to use the SFM to expand a WORD (32bit) data.
SPI | QSPI_QuadSPI_FLASH | This example describes how to use the SPI firmware library communicate with a SPI FLASH.
QSPI_SPI_FLASH | This example describes how to use the SPI firmware library communicate with a SPI FLASH.
SPIM2_SPI_FLASH | This example describes how to use the SPI firmware library communicate with a SPI FLASH.
QSPI_Master_DMA | This example and SPIS1_Slave_DMA example describe how to realize the communication between SPI master and SPI slave using DMA.
QSPI_Master_Interrupt | This example and SPIS1_Slave_Interrupt example describe how to realize the communication between SPI master and SPI slave using interrupt.
SPIS1_Slave_DMA | This example and QSPI_Master_Interrupt example describe how to realize the communication between SPI master and SPI slave using interrupt.
SPIS1_Slave_Interrupt | This example and QSPI_Master_Interrupt example describe how to realize the communication between SPI master and SPI slave using interrupt.
SPIM2_Master_DMA | This example and SPIS2_Slave_DMA example describe how to realize the communication between SPI master and SPI slave using DMA.
SPIM2_Master_Interrupt | This example and SPIS2_Slave_Interrupt example describe how to realize the communication between SPI master and SPI slave using interrupt.
SPIS2_Slave_DMA | This example and SPIM2_Master_DMA example describe how to realize the communication between SPI master and SPI slave using DMA.
SPIS2_Slave_Interrupt | This example and SPIM2_Master_Interrupt example describe how to realize the communication between SPI master and SPI slave using interrupt.
SysTick | SysTick_Example | This example describes how to configure the SysTick to generate a time base equal to 1 ms.
TIM | TIM_6Steps | This example shows how to configure the TIM1 peripheral to generate 6 Steps.
TIM_7PWM_Output | This example shows how to configure the TIM1 peripheral to generate 7 PWM signals with 4 different duty cycles (50%, 37.5%, 25% and 12.5%).
TIM_Base | This example describes how to use the TIM peripheral to generate 500ms timer interrupt.
TIM_CascadeSynchro | This example shows how to synchronize TIM peripherals in cascade mode.
TIM_ComplementarySignals | This example shows how to configure the TIM1 peripheral to generate three complementary TIM1 signals, to insert a defined dead time value, to use the break feature and to lock the desired parameters.
TIM_DMA | This example describes how to use DMA and TIM1 update request to transfer data from memory to TIM1->CCR2.
TIM_ExtTrigger_Synchro | This example shows how to synchronize TIM peripherals with external triggers in cascade mode.
TIM_InputCapture | This example shows how to use the TIM peripheral to measure the frequency of an external signal.
TIM_OCActive | This example shows how to configure the TIM peripheral to generate four different signals with four different delays.
TIM_OCInactive | This example shows how to configure the TIM peripheral in Output Compare Inactive mode with the corresponding Interrupt requests for each channel.
TIM_OnePulse | This example shows how to use the TIM peripheral to generate a One pulse Mode after a Rising edge of an external signal is received in Timer Input pin.
TIM_ParallelSynchro | This example shows how to synchronize TIM peripherals in parallel mode.
TIM_PWM_Input | This example shows how to use the TIM peripheral to measure the frequency and duty cycle of an external signal.
TIM_PWM_Output | This example shows how to configure the TIM peripheral in PWM (Pulse Width Modulation) mode.
TIM_TIM1_OCToggle | This example shows how to configure the TIM1 peripheral to generate two different signals with two different frequencies.
TIM_TIM1_PWMOutput | This example shows how to configure the TIM peripheral in PWM (Pulse Width Modulation) mode.
TIM_TIM1ComplementarySignals | This example shows how to configure the TIM1 peripheral to generate one complementary TIM1 signal, to insert a defined dead time value, to use the break feature and to lock the desired parameters.
UART | UART_9BitDataTransfer | This example shows how to use UART 9-bit Data Transfer function.
UART_AutoFlowControl | This example shows how to use UART auto flow control function (Auto RTS and Auto CTS).
UART_CharacterTimeout | This example shows how to use the UART character timeout feature.
UART_Interrupt | This example describes how to use the UART's receive and transmit interrupts.
UART_IrDA | This example describes how to use the UART IrDA Mode.
UART_Polling | This example shows how to transmit and receive serial data by polling UART flag bits.
UART_Printf | This example shows how to retarget the standard input and output function to the UART1.
USB | USB_CDC_Echo | This example describes how to use USB module to implement a Virtual COM Port.
USB_HID_KeyBoard | This example describes how to use USB module to implement a keyboard.
USB_HID_Mouse | This example describes how to use USB module to implement a mouse.
USB_Mass_Storage_SPI_FLASH | This example describes how to use USB module to implement a USB flash disk (SPI FLASH as storage).
USB_Mass_Storage_SRAM | This example describes how to use USB module to implement a USB flash disk (Internal SRAM as storage).
WWDG | WWDG_Reset | This example describes how to use the WWDG.

###
© COPYRIGHT 2020 - 2023 Westberry Technology