summaryrefslogtreecommitdiffstats
path: root/Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h')
-rw-r--r--Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h83
1 files changed, 0 insertions, 83 deletions
diff --git a/Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h b/Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h
index 6ccf04f3..4ccac858 100644
--- a/Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h
+++ b/Smol Watch Project/My Project/hpl/tcc/hpl_tcc.h
@@ -60,89 +60,6 @@ extern "C" {
* \return A pointer to set of timer helper functions
*/
struct _timer_hpl_interface *_tcc_get_timer(void);
-/**
- * \brief Initialize TCC for PWM
- *
- * This function does low level TCC configuration.
- *
- * \param[in] device The pointer to PWM device instance
- * \param[in] hw The pointer to hardware instance
- *
- * \return Initialization status.
- */
-int32_t _tcc_pwm_init(struct _pwm_device *const device, void *const hw);
-
-/**
- * \brief De-initialize TCC for PWM
- *
- * \param[in] device The pointer to TCC device instance
- */
-void _tcc_pwm_deinit(struct _pwm_device *const device);
-
-/**
- * \brief Retrieve offset of the given tcc hardware instance
- *
- * \param[in] device The pointer to TCC device instance
- *
- * \return The offset of the given tcc hardware instance
- */
-uint8_t _tcc_pwm_get_hardware_offset(const struct _pwm_device *const device);
-
-/**
- * \brief Start PWM
- *
- * \param[in] device The pointer to TCC device instance
- */
-void _tcc_start_pwm(struct _pwm_device *const device);
-
-/**
- * \brief Stop PWM
- *
- * \param[in] device The pointer to TCC device instance
- */
-void _tcc_stop_pwm(struct _pwm_device *const device);
-
-/**
- * \brief Check if PWM is running
- *
- * \param[in] device The pointer to TCC device instance
- *
- * \return Check status.
- * \retval true The given pwm is running
- * \retval false The given pwm is not running
- */
-bool _tcc_is_pwm_enabled(const struct _pwm_device *const device);
-
-/**
- * \brief Set PWM parameter
- * \param[in] device The pointer to TCC device instance
- * \param[in] period Total period of one PWM cycle.
- * \param[in] duty_cycle Period of PWM first half during one cycle.
- */
-void _tcc_set_pwm_param(struct _pwm_device *const device, const pwm_period_t period, const pwm_period_t duty_cycle);
-
-/**
- * \brief Get pwm waveform period value
- * \param[in] device The pointer to TCC device instance
- * \return Period value.
- */
-pwm_period_t _tcc_pwm_get_period(const struct _pwm_device *const device);
-
-/**
- * \brief Get pwm waveform duty cycle value
- * \param[in] device The pointer to TCC device instance
- * \return Duty cycle value
- */
-uint32_t _tcc_pwm_get_duty(const struct _pwm_device *const device);
-
-/**
- * \brief Enable/disable PWM interrupt
- *
- * param[in] device The pointer to PWM device instance
- * param[in] type The type of interrupt to disable/enable if applicable
- * param[in] disable Enable or disable
- */
-void _tcc_pwm_set_irq_state(struct _pwm_device *const device, const enum _pwm_callback_type type, const bool disable);
/**
* \brief Retrieve pwm helper functions