Lines Matching full:period
19 uint8_t period; member
27 .period = 3,
36 uint32_t period; in cmd_cycles() local
48 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_cycles()
55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles()
69 uint32_t period; in cmd_usec() local
81 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_usec()
88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec()
101 uint32_t period; in cmd_nsec() local
113 period = strtoul(argv[args_indx.period], NULL, 0); in cmd_nsec()
120 err = pwm_set(dev, channel, period, pulse, flags); in cmd_nsec()
147 SHELL_CMD_ARG(cycles, &dsub_device_name, "<device> <channel> <period in cycles> "
149 SHELL_CMD_ARG(usec, &dsub_device_name, "<device> <channel> <period in usec> "
151 SHELL_CMD_ARG(nsec, &dsub_device_name, "<device> <channel> <period in nsec> "