Lines Matching full:capture

41  * @name PWM capture configuration flags
54 /** PWM pin capture captures period. */
57 /** PWM pin capture captures pulse width. */
60 /** PWM pin capture captures both period and pulse width. */
64 /** PWM pin capture captures a single period/pulse width. */
67 /** PWM pin capture captures period/pulse width continuously. */
373 * @brief PWM capture callback handler function signature
377 * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected to enable PWM capture
386 * @param status Status for the PWM capture (0 if no error, negative errno
415 * @brief PWM driver API call to configure PWM capture.
424 * @brief PWM driver API call to enable PWM capture.
430 * @brief PWM driver API call to disable PWM capture.
679 * @brief Configure PWM period/pulse width capture for a single PWM input.
681 * After configuring PWM capture using this function, the capture can be
695 * @param flags PWM capture flags
696 * @param[in] cb Application callback handler function to be called upon capture
701 * @retval -ENOSYS if PWM capture is not supported or the given flags are not
704 * @retval -EBUSY if PWM capture is already in progress
724 * @brief Enable PWM period/pulse width capture for a single PWM input.
737 * @retval -ENOSYS if PWM capture is not supported
738 * @retval -EIO if IO error occurred while enabling PWM capture
739 * @retval -EBUSY if PWM capture is already in progress
759 * @brief Disable PWM period/pulse width capture for a single PWM input.
769 * @retval -ENOSYS if PWM capture is not supported
770 * @retval -EIO if IO error occurred while disabling PWM capture
790 * @brief Capture a single PWM period/pulse width in clock cycles for a single
795 * the capture result to the caller. The function is blocking until either the
796 * PWM capture is completed or a timeout occurs.
803 * @param flags PWM capture flags.
808 * @param timeout Waiting period for the capture to complete.
811 * @retval -EBUSY PWM capture already in progress.
821 * @brief Capture a single PWM period/pulse width in microseconds for a single
825 * pwm_cycles_to_usec() and passes the capture result to the caller. The
826 * function is blocking until either the PWM capture is completed or a timeout
834 * @param flags PWM capture flags.
839 * @param timeout Waiting period for the capture to complete.
842 * @retval -EBUSY PWM capture already in progress.
876 * @brief Capture a single PWM period/pulse width in nanoseconds for a single
880 * pwm_cycles_to_nsec() and passes the capture result to the caller. The
881 * function is blocking until either the PWM capture is completed or a timeout
889 * @param flags PWM capture flags.
894 * @param timeout Waiting period for the capture to complete.
897 * @retval -EBUSY PWM capture already in progress.