Searched refs:PWM_PATH (Results 1 – 1 of 1) sorted by relevance
25 PWM_PATH="${PWM_CLASS_PATH}/pwm${PWM_NUM}"26 if [ ! -d "$PWM_PATH" ];then29 if [ -d "$PWM_PATH" ];then31 if ! echo "$PWM_PERIOD" > "${PWM_PATH}/period"; then36 if ! echo 1 > "${PWM_PATH}/enable"; then41 if ! echo "$PWM_DUTY" > "${PWM_PATH}/duty_cycle"; then46 echo "Error: ${PWM_PATH} not exist, export pwm${PWM_NUM} fail"