Home
last modified time | relevance | path

Searched refs:pwm_led0 (Results 1 – 25 of 61) sorted by relevance

123

/Zephyr-latest/samples/basic/fade_led/src/
Dmain.c17 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/
Dmain.c17 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/
Dbeagleconnect_freedom.overlay9 pwm-led0 = &pwm_led0;
14 pwm_led0: pwm_led_0 {
Dwio_terminal.overlay8 pwm-led0 = &pwm_led0;
13 pwm_led0: pwm_led_0 {
Drpi_pico.overlay1 &pwm_led0 {
Dxiao_rp2040.overlay5 &pwm_led0 {
Dnrf52840dk_nrf52840.overlay10 &pwm_led0 {
Dnrf5340dk_nrf5340_cpuapp.overlay10 &pwm_led0 {
Dnrf9160dk_nrf9160.overlay10 &pwm_led0 {
/Zephyr-latest/boards/raspberrypi/common/
Drpi_pico-led.dtsi20 pwm_led0: pwm_led_0 { label
28 pwm-led0 = &pwm_led0;
/Zephyr-latest/boards/seagate/legend/
Dlegend_stm32f070xb_25hdd.overlay12 pwm-led0 = &pwm_led0;
19 pwm_led0: pwm_led_0 {
Dlegend_stm32f070xb_35.overlay12 pwm-led0 = &pwm_led0;
19 pwm_led0: pwm_led_0 {
/Zephyr-latest/samples/basic/fade_led/boards/
Dcyw920829m2evk_02.overlay13 pwm-led0 = &pwm_led0;
18 pwm_led0: pwm_led_0 {
/Zephyr-latest/boards/silabs/radio_boards/slwrb4250b/
Dslwrb4250b.dts19 pwm_led0: pwm_led0 { label
25 pwm-led0 = &pwm_led0;
/Zephyr-latest/boards/silabs/starter_kits/slstk3402a/
Dslstk3402a_common.dtsi25 pwm-led0 = &pwm_led0;
63 pwm_led0: pwm_led0 { label
/Zephyr-latest/boards/electronut/nrf52840_papyr/
Dnrf52840_papyr.dts44 pwm_led0: pwm_led_0 { label
72 pwm-led0 = &pwm_led0;
75 green-pwm-led = &pwm_led0;
/Zephyr-latest/boards/norik/octopus_som/
Doctopus_som_common.dtsi30 pwm_led0: pwm_led_0 { label
44 pwm-led0 = &pwm_led0;
/Zephyr-latest/boards/nordic/nrf51dongle/
Dnrf51dongle_nrf51822.dts44 pwm_led0: pwm_led_0 { label
54 pwm-led0 = &pwm_led0;
/Zephyr-latest/boards/adafruit/itsybitsy_m4_express/
Dadafruit_itsybitsy_m4_express.dts26 pwm-led0 = &pwm_led0;
40 pwm_led0: pwm_led_0 { label
/Zephyr-latest/boards/arduino/zero/
Darduino_zero.dts28 pwm-led0 = &pwm_led0;
50 pwm_led0: pwm_led_0 { label
/Zephyr-latest/boards/atmel/sam0/samd21_xpro/
Dsamd21_xpro.dts29 pwm-led0 = &pwm_led0;
44 pwm_led0: pwm_led_0 { label
/Zephyr-latest/boards/atmel/sam0/saml21_xpro/
Dsaml21_xpro.dts26 pwm-led0 = &pwm_led0;
40 pwm_led0: pwm_led_0 { label
/Zephyr-latest/boards/atmel/sam0/samr34_xpro/
Dsamr34_xpro.dts26 pwm-led0 = &pwm_led0;
40 pwm_led0: pwm_led_0 { label
/Zephyr-latest/boards/seeed/xiao_ble/
Dxiao_ble_common.dtsi36 pwm_led0: pwm_led_0 { label
46 pwm-led0 = &pwm_led0;
/Zephyr-latest/boards/adafruit/trinket_m0/
Dadafruit_trinket_m0.dts28 pwm-led0 = &pwm_led0;
43 pwm_led0: pwm_led_0 { label

123