/Zephyr-latest/samples/subsys/zbus/work_queue/src/ |
D | sensors.c | 15 struct sensor_msg sm = {0}; in peripheral_thread() local 20 sm.press += 1; in peripheral_thread() 21 sm.temp += 10; in peripheral_thread() 22 sm.humidity += 100; in peripheral_thread() 24 zbus_chan_pub(&sensor_data_chan, &sm, K_MSEC(250)); in peripheral_thread()
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_rpi_pico_pio.c | 20 uint32_t sm; member 47 int sm; in ws2812_led_strip_sm_init() local 51 sm = pio_claim_unused_sm(pio, false); in ws2812_led_strip_sm_init() 52 if (sm < 0) { in ws2812_led_strip_sm_init() 61 pio_sm_set_consecutive_pindirs(pio, sm, config->gpio_pin, 1, true); in ws2812_led_strip_sm_init() 62 pio_sm_init(pio, sm, -1, &sm_config); in ws2812_led_strip_sm_init() 63 pio_sm_set_enabled(pio, sm, true); in ws2812_led_strip_sm_init() 65 return sm; in ws2812_led_strip_sm_init() 104 pio_sm_put_blocking(pio, data->sm, color << (config->num_colors == 4 ? 0 : 8)); in ws2812_led_strip_update_rgb() 132 int sm; in ws2812_led_strip_init() local [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_rpi_pico_pio.c | 56 static int pio_uart_tx_init(PIO pio, uint32_t sm, uint32_t tx_pin, float div) in pio_uart_tx_init() argument 78 pio_sm_set_pins_with_mask(pio, sm, BIT(tx_pin), BIT(tx_pin)); in pio_uart_tx_init() 79 pio_sm_set_pindirs_with_mask(pio, sm, BIT(tx_pin), BIT(tx_pin)); in pio_uart_tx_init() 80 pio_sm_init(pio, sm, offset, &sm_config); in pio_uart_tx_init() 81 pio_sm_set_enabled(pio, sm, true); in pio_uart_tx_init() 86 static int pio_uart_rx_init(PIO pio, uint32_t sm, uint32_t rx_pin, float div) in pio_uart_rx_init() argument 98 pio_sm_set_consecutive_pindirs(pio, sm, rx_pin, 1, false); in pio_uart_rx_init() 108 pio_sm_init(pio, sm, offset, &sm_config); in pio_uart_rx_init() 109 pio_sm_set_enabled(pio, sm, true); in pio_uart_rx_init()
|
/Zephyr-latest/drivers/misc/pio_rpi_pico/ |
D | pio_rpi_pico.c | 23 int pio_rpi_pico_allocate_sm(const struct device *dev, size_t *sm) in pio_rpi_pico_allocate_sm() argument 33 *sm = (size_t)retval; in pio_rpi_pico_allocate_sm()
|
/Zephyr-latest/drivers/spi/ |
D | spi_rpi_pico_pio.c | 145 static inline void spi_pico_pio_sm_put8(PIO pio, uint sm, uint8_t data) in spi_pico_pio_sm_put8() argument 149 io_rw_8 *txfifo = (io_rw_8 *)&pio->txf[sm]; in spi_pico_pio_sm_put8() 154 static inline uint8_t spi_pico_pio_sm_get8(PIO pio, uint sm) in spi_pico_pio_sm_get8() argument 158 io_rw_8 *rxfifo = (io_rw_8 *)&pio->rxf[sm]; in spi_pico_pio_sm_get8() 163 static inline void spi_pico_pio_sm_put16(PIO pio, uint sm, uint16_t data) in spi_pico_pio_sm_put16() argument 167 io_rw_16 *txfifo = (io_rw_16 *)&pio->txf[sm]; in spi_pico_pio_sm_put16() 172 static inline uint16_t spi_pico_pio_sm_get16(PIO pio, uint sm) in spi_pico_pio_sm_get16() argument 174 io_rw_16 *rxfifo = (io_rw_16 *)&pio->rxf[sm]; in spi_pico_pio_sm_get16() 179 static inline void spi_pico_pio_sm_put32(PIO pio, uint sm, uint32_t data) in spi_pico_pio_sm_put32() argument 181 io_rw_32 *txfifo = (io_rw_32 *)&pio->txf[sm]; in spi_pico_pio_sm_put32() [all …]
|
/Zephyr-latest/include/zephyr/drivers/misc/pio_rpi_pico/ |
D | pio_rpi_pico.h | 147 int pio_rpi_pico_allocate_sm(const struct device *dev, size_t *sm);
|
/Zephyr-latest/doc/_doxygen/ |
D | doxygen-awesome.css | 314 .sm-dox a, .sm-dox a:hover, .sm-dox a:focus, #projectname, 410 .sm-dox, .tabs, .tabs2, .tabs3 { 425 .sm-dox a span.sub-arrow { 440 .sm-dox li, .tablist li { 444 .sm-dox a span.sub-arrow { 448 .sm-dox a:hover span.sub-arrow { 452 .sm-dox ul a span.sub-arrow { 456 .sm-dox ul a:hover span.sub-arrow { 461 .sm-dox ul { 482 .sm-dox ul a { [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | reports.py | 512 sm = saved_metrics[mkey] 516 if sm[metric] == "": 518 delta = instance.metrics.get(metric, 0) - mtype(sm[metric])
|