nrf-rs / nrf-hal

A Rust HAL for the nRF family of devices
Apache License 2.0
503 stars 139 forks source link

Initial PDM support #361

Open grodino opened 2 years ago

grodino commented 2 years ago

Hi !

I needed a HAL for the PDM peripheral of the nrf-52840 and here it is ! I included an example that can be ran on an Arduino Nano 33 BLE Sense board. For now, the pdm module is behind a cfg(feature=52840) since I don't have the means to test it on other devices.

Cheers, Augustin