GitHub / khoih-prog / nRF52_MBED_Slow_PWM
This library enables you to use ISR-based PWM channels on an nRF52-based board using Arduino-mbed mbed_nano core such as Nano-33-BLE to create and output PWM any GPIO pin. It now supports 16 ISR-based PWM channels, while consuming only 1 Hardware Timer. PWM channel interval can be very long (ulong microsecs / millisecs). The most important feature is they're ISR-based PWM channels, supporting lower PWM frequencies with suitable accuracy. Their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These ISR-based PWMs, still work even if other software functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software-based PWM using millis() or micros(). That's necessary if you need to control devices requiring high precision
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoih-prog%2FnRF52_MBED_Slow_PWM
Stars: 0
Forks: 0
Open issues: 0
License: mit
Language: C
Size: 135 KB
Dependencies parsed at: Pending
Created at: over 3 years ago
Updated at: about 2 years ago
Pushed at: over 2 years ago
Last synced at: about 2 years ago
Topics: duty-cycle, hardware-timer, isr, isr-based, isr-based-pmw, mbed, mbed-nano, multi-channel-pwm, nano-33-ble, nano-33-ble-sense, nrf52, nrf52840, on-the-fly, pwm, pwm-driver, pwm-frequency, synchronized-pwm, timer-interrupt, xiao-nrf52840, xiao-nrf52840-sense