中文页 | English
This package contains some routines for the operation of peripheral devices.
File | Description |
---|---|
adc_vol_sample.c | Use ADC device to convert voltage data |
hwtimer_sample.c | Use hardware timer timing |
i2c_aht10_sample.c | Use i2c device to obtain aht10 temperature and humidity sensor data |
iwdg_sample.c | Watchdog device usage example |
led_blink_sample.c | Use pin device to control LED blinking |
pin_beep_sample.c | Use pin device to control buzzer |
pwm_led_sample.c | Use pwm device to control LED brightness |
rtc_sample.c | Use rtc device to set year, month, day, hour, minute and second information |
sd_sample.c | Block device SD card usage example |
spi_w25q_sample.c | Use spi device to read W25Q ID |
uart_sample.c | Send and receive data using serial device interrupt receiving and polling sending mode |
uart_dma_sample.c | Use serial device DMA reception and polling transmission mode to send and receive data |
The peripheral samples package complies with the Apache license v2.0, see the LICENSE
file for details.
Depend on the device driver provided by the device management module.
To use the peripheral samples package, you need to select it in the RT-Thread package manager. The specific path is as follows:
RT-Thread online packages
miscellaneous packages --->
samples: kernel and components samples --->
a peripheral_samples package for rt-thread --->
Then let the RT-Thread package manager automatically update, or use the pkgs --update
command to update the package to the BSP.
After opening the peripheral samples package, when the BSP is compiled, the relevant source code of the selected software package will be added to the BSP project for compilation.
Nothing.
- Maintenance: misonyo
- Homepage: https://github.com/RT-Thread-packages/peripheral-sample