5. Peripherals and Examples
The table below lists the driver files and example counts of each peripheral and functional module in Nsing.N32G033_Library.1.3.0. Select a peripheral name to open its section. The readme.txt in each example directory states the supported devices, toolchains, and wiring.
| Peripheral / Category | Examples | Main driver files |
|---|---|---|
| ADC | 5 | n32g033_adc.h / n32g033_adc.c |
| COMP | 2 | n32g033_comp.h / n32g033_comp.c |
| Cortex-M0 | 2 | CMSIS Core |
| DMA | 1 | n32g033_dma.h / n32g033_dma.c |
| EXTI | 1 | n32g033_exti.h / n32g033_exti.c |
| FLASH | 2 | n32g033_flash.h / n32g033_flash.c |
| FreeRTOS | 1 | FreeRTOS-Kernel |
| GPIO | 1 | n32g033_gpio.h / n32g033_gpio.c |
| HDIV | 1 | n32g033_hdiv.h / n32g033_hdiv.c |
| I2C | 7 | n32g033_i2c.h / n32g033_i2c.c |
| IWDG | 1 | n32g033_iwdg.h / n32g033_iwdg.c |
| NVIC | 1 | misc.h / misc.c |
| OPAMP | 1 | n32g033_opamp.h / n32g033_opamp.c |
| PWR | 2 | n32g033_pwr.h / n32g033_pwr.c |
| RCC | 2 | n32g033_rcc.h / n32g033_rcc.c |
| SPI | 5 | n32g033_spi.h / n32g033_spi.c |
| SQRT | 1 | n32g033_sqrt.h / n32g033_sqrt.c |
| TIM | 19 | n32g033_tim.h / n32g033_tim.c |
| UART | 13 | n32g033_uart.h / n32g033_uart.c |
| DBG | No standalone demo | n32g033_dbg.h / n32g033_dbg.c |
Examples are counted as example entries containing an MDK-ARM or EWARM build project, 68 in total: paired sub-projects that each carry their own description file (such as the master and slave projects under UART/LIN) count separately, while paired sub-projects that share a description file in the parent directory count as one. Cortex-M0 and FreeRTOS have no corresponding standard peripheral driver, so their API sections describe where the interfaces come from; DBG has no standalone example, so its section lists only the driver files and APIs. The section order follows the example category directories of the SDK, with DBG last because it has no example.