Hello,
I'm only a rookie, but this seems strange for me: When I want to change the PCMSK register, there is no way to access single bits, like there is e.g. for the GIMSK:
self.exint.gimsk.modify(|_, w| w.pcie().set_bit()); // Good
self.exint.pcmsk.modify(|_, w| w.bits(1)); // Not so good
There aren't even constants for the single bits…
I'd expect to be able to do this:
self.exint.pcmsk.modify(|_, w| w.pcint0().set_bit());
Am I right?
Hello,
I'm only a rookie, but this seems strange for me: When I want to change the
PCMSKregister, there is no way to access single bits, like there is e.g. for theGIMSK:There aren't even constants for the single bits…
I'd expect to be able to do this:
Am I right?