nrf-rs / nrf-hal

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

Enable PWM for nrf52832 #318

Closed Dirbaio closed 3 years ago

Dirbaio commented 3 years ago

It compiles cleanly, except for the PAC missing fields for the tasks registers. Replaced those with .bits(1), which works on all chips.

Untested on hardware as I don't have a nrf52832 at hand.

jonathanpallant commented 3 years ago

Tested OK on a DWM1001C.

jonathanpallant commented 3 years ago

@bors r+

jonas-schievink commented 3 years ago

@bors is for the rust-lang instance, the one we use doesn't use @:

bors r=jonathanpallant

bors[bot] commented 3 years ago

Build succeeded: