1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- /*
- * BSD 2-Clause License
- * Copyright (c) 2022, LiteEMF
- * All rights reserved.
- * This software component is licensed by LiteEMF under BSD 2-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-2-Clause
- *
- */
- /************************************************************************************************************
- ** Description:
- ************************************************************************************************************/
- #include "hw_config.h"
- #ifdef HW_PWM_MAP
- #include "api/api_pwm.h"
- #include "api/api_gpio.h"
- /******************************************************************************************************
- ** Defined
- *******************************************************************************************************/
- /******************************************************************************************************
- ** static Parameters
- *******************************************************************************************************/
- /******************************************************************************************************
- ** public Parameters
- *******************************************************************************************************/
- /*****************************************************************************************************
- ** static Function
- ******************************************************************************************************/
- /*****************************************************************************************************
- ** Function
- ******************************************************************************************************/
- /*******************************************************************
- ** Parameters:
- ** Returns:
- ** Description:
- *******************************************************************/
- bool hal_pwm_set_duty(uint16_t id, uint8_t duty)
- {
- UNUSED_PARAMETER(id);
- UNUSED_PARAMETER(duty);
- return false;
- }
- bool hal_pwm_init(uint16_t id, uint8_t duty)
- {
- UNUSED_PARAMETER(id);
- UNUSED_PARAMETER(duty);
- return false;
- }
- bool hal_pwm_deinit(uint16_t id)
- {
- UNUSED_PARAMETER(id);
- return false;
- }
- #endif
|