D | pwm_shell.c | 4 * SPDX-License-Identifier: Apache-2.0 20 uint8_t pulse; member 28 .pulse = 4, 37 uint32_t pulse; in cmd_cycles() local 44 return -EINVAL; in cmd_cycles() 49 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_cycles() 55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles() 70 uint32_t pulse; in cmd_usec() local 77 return -EINVAL; in cmd_usec() 82 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_usec() [all …]
|