Hello! I'm trying to use the PWM on a board containing an nRF51822 device. However, simply including the nrf_pwm.h
file multiple errors are trigered, such as the following (among other):
- sdk_11/components/drivers_nrf/hal/nrf_pwm.h:68:43: error: unknown type name 'NRF_PWM_Type'
- sdk_11/components/drivers_nrf/hal/nrf_pwm.h:80:37: error: 'PWM_INTENSET_STOPPED_Msk' undeclared here (not in a function)
- sdk_11/components/drivers_nrf/hal/nrf_pwm.h:312:45: error: unknown type name 'NRF_PWM_Type'
After seraching the SDK I noticed that these defines are available on the iles relative to the nRF52 devices. Since I'm using an nRF51 device, how should I procede?