/Zephyr-latest/samples/basic/fade_led/src/ |
D | main.c | 17 static const struct pwm_dt_spec pwm_led0 = PWM_DT_SPEC_GET(DT_ALIAS(pwm_led0)); variable 25 uint32_t step = pwm_led0.period / NUM_STEPS; in main() 31 if (!pwm_is_ready_dt(&pwm_led0)) { in main() 33 pwm_led0.dev->name); in main() 38 ret = pwm_set_pulse_dt(&pwm_led0, pulse_width); in main() 43 printk("Using pulse width %d%%\n", 100 * pulse_width / pwm_led0.period); in main() 47 if (pulse_width >= pwm_led0.period) { in main() 48 pulse_width = pwm_led0.period - step; in main()
|
/Zephyr-latest/samples/basic/blinky_pwm/src/ |
D | main.c | 17 static const struct pwm_dt_spec pwm_led0 = PWM_DT_SPEC_GET(DT_ALIAS(pwm_led0)); variable 31 if (!pwm_is_ready_dt(&pwm_led0)) { in main() 33 pwm_led0.dev->name); in main() 44 printk("Calibrating for channel %d...\n", pwm_led0.channel); in main() 46 while (pwm_set_dt(&pwm_led0, max_period, max_period / 2U)) { in main() 61 ret = pwm_set_dt(&pwm_led0, period, period / 2U); in main()
|
/Zephyr-latest/samples/basic/blinky_pwm/boards/ |
D | beagleconnect_freedom.overlay | 9 pwm-led0 = &pwm_led0; 14 pwm_led0: pwm_led_0 {
|
D | wio_terminal.overlay | 8 pwm-led0 = &pwm_led0; 13 pwm_led0: pwm_led_0 {
|
D | rpi_pico.overlay | 1 &pwm_led0 {
|
D | xiao_rp2040.overlay | 5 &pwm_led0 {
|
D | nrf52840dk_nrf52840.overlay | 10 &pwm_led0 {
|
D | nrf5340dk_nrf5340_cpuapp.overlay | 10 &pwm_led0 {
|
D | nrf9160dk_nrf9160.overlay | 10 &pwm_led0 {
|
/Zephyr-latest/boards/raspberrypi/common/ |
D | rpi_pico-led.dtsi | 20 pwm_led0: pwm_led_0 { label 28 pwm-led0 = &pwm_led0;
|
/Zephyr-latest/boards/seagate/legend/ |
D | legend_stm32f070xb_25hdd.overlay | 12 pwm-led0 = &pwm_led0; 19 pwm_led0: pwm_led_0 {
|
D | legend_stm32f070xb_35.overlay | 12 pwm-led0 = &pwm_led0; 19 pwm_led0: pwm_led_0 {
|
/Zephyr-latest/samples/basic/fade_led/boards/ |
D | cyw920829m2evk_02.overlay | 13 pwm-led0 = &pwm_led0; 18 pwm_led0: pwm_led_0 {
|
/Zephyr-latest/boards/silabs/radio_boards/slwrb4250b/ |
D | slwrb4250b.dts | 19 pwm_led0: pwm_led0 { label 25 pwm-led0 = &pwm_led0;
|
/Zephyr-latest/boards/silabs/starter_kits/slstk3402a/ |
D | slstk3402a_common.dtsi | 25 pwm-led0 = &pwm_led0; 63 pwm_led0: pwm_led0 { label
|
/Zephyr-latest/boards/electronut/nrf52840_papyr/ |
D | nrf52840_papyr.dts | 44 pwm_led0: pwm_led_0 { label 72 pwm-led0 = &pwm_led0; 75 green-pwm-led = &pwm_led0;
|
/Zephyr-latest/boards/norik/octopus_som/ |
D | octopus_som_common.dtsi | 30 pwm_led0: pwm_led_0 { label 44 pwm-led0 = &pwm_led0;
|
/Zephyr-latest/boards/nordic/nrf51dongle/ |
D | nrf51dongle_nrf51822.dts | 44 pwm_led0: pwm_led_0 { label 54 pwm-led0 = &pwm_led0;
|
/Zephyr-latest/boards/adafruit/itsybitsy_m4_express/ |
D | adafruit_itsybitsy_m4_express.dts | 26 pwm-led0 = &pwm_led0; 40 pwm_led0: pwm_led_0 { label
|
/Zephyr-latest/boards/arduino/zero/ |
D | arduino_zero.dts | 28 pwm-led0 = &pwm_led0; 50 pwm_led0: pwm_led_0 { label
|
/Zephyr-latest/boards/atmel/sam0/samd21_xpro/ |
D | samd21_xpro.dts | 29 pwm-led0 = &pwm_led0; 44 pwm_led0: pwm_led_0 { label
|
/Zephyr-latest/boards/atmel/sam0/saml21_xpro/ |
D | saml21_xpro.dts | 26 pwm-led0 = &pwm_led0; 40 pwm_led0: pwm_led_0 { label
|
/Zephyr-latest/boards/atmel/sam0/samr34_xpro/ |
D | samr34_xpro.dts | 26 pwm-led0 = &pwm_led0; 40 pwm_led0: pwm_led_0 { label
|
/Zephyr-latest/boards/seeed/xiao_ble/ |
D | xiao_ble_common.dtsi | 36 pwm_led0: pwm_led_0 { label 46 pwm-led0 = &pwm_led0;
|
/Zephyr-latest/boards/adafruit/trinket_m0/ |
D | adafruit_trinket_m0.dts | 28 pwm-led0 = &pwm_led0; 43 pwm_led0: pwm_led_0 { label
|