[riot-notifications] [RIOT-OS/RIOT] drivers/sm_pwm_01c: initial import (#16217)
notifications at github.com
Wed Apr 7 10:52:15 CEST 2021
@fjmolinas commented on this pull request.
> + sm_pwm_01c_params_t params; /**< Device driver parameters */
+ sm_pwm_01c_values_t _values; /**< Internal data to calculate concentration
+ from tsl/tsp low Pulse Output Occupancy */
+ ztimer_t _sampler; /**< internal sampling timer */
+ * @brief Initialize the given SM_PWM_01C device
+ * @param[out] dev Initialized device descriptor of SM_PWM_01C device
+ * @param[in] params The parameters for the SM_PWM_01C device
+ * @retval 0 on success
+ * @retval -EIO GPIO error
+int sm_pwm_01c_init(sm_pwm_01c_t* dev, const sm_pwm_01c_params_t* params);
I thought I had uncrustigied the file.. seems not, did it now.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications