/* * 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