We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a39786 commit 0ea975eCopy full SHA for 0ea975e
cores/nRF5/HardwarePWM.h
@@ -68,6 +68,12 @@ class HardwarePWM
68
69
void setClockDiv(uint8_t div); // value is PWM_PRESCALER_PRESCALER_DIV_x, DIV1 is 16Mhz
70
71
+ // Direct access to peripheral base address
72
+ NRF_PWM_Type * const baseAddr(void)
73
+ {
74
+ return _pwm;
75
+ }
76
+
77
// Cooperative ownership sharing
78
79
// returns true ONLY when (1) no PWM channel has a pin, and (2) the owner token is nullptr
0 commit comments