Home
last modified time | relevance | path

Searched refs:buzzer (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/rmt/musical_buzzer/main/
Dmusical_buzzer_example_main.c56 musical_buzzer_t *buzzer = NULL; in app_main() local
58 ESP_ERROR_CHECK(musical_buzzer_create_rmt(&buzzer_config, &buzzer)); in app_main()
62 ESP_ERROR_CHECK(buzzer->play(buzzer, notation, sizeof(notation) / sizeof(notation[0]))); in app_main()
/hal_espressif-3.6.0/examples/peripherals/rmt/musical_buzzer/components/musical_buzzer/src/
Dmusical_buzzer_rmt.c58 static esp_err_t buzzer_play(musical_buzzer_t *buzzer, const musical_buzzer_notation_t *notation, u… in buzzer_play() argument
61 rmt_buzzer_t *rmt_buzzer = __containerof(buzzer, rmt_buzzer_t, parent); in buzzer_play()
77 static esp_err_t buzzer_stop(musical_buzzer_t *buzzer) in buzzer_stop() argument
79 rmt_buzzer_t *rmt_buzzer = __containerof(buzzer, rmt_buzzer_t, parent); in buzzer_stop()
84 static esp_err_t buzzer_del(musical_buzzer_t *buzzer) in buzzer_del() argument
86 rmt_buzzer_t *rmt_buzzer = __containerof(buzzer, rmt_buzzer_t, parent); in buzzer_del()
/hal_espressif-3.6.0/examples/peripherals/rmt/musical_buzzer/components/musical_buzzer/include/
Dmusical_buzzer.h58 …esp_err_t (*play)(musical_buzzer_t *buzzer, const musical_buzzer_notation_t *notation, uint32_t no…
67 esp_err_t (*stop)(musical_buzzer_t *buzzer);
76 esp_err_t (*del)(musical_buzzer_t *buzzer);
/hal_espressif-3.6.0/examples/peripherals/rmt/musical_buzzer/
DREADME.md10 This example will show how to drive a passive buzzer to play a simple music, based on the RMT loop …
18 * A passive buzzer
54 After you seeing this log, you should hear the music from your buzzer. You can also play other musi…
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Drmt.rst318 * Musical buzzer example: :example:`peripherals/rmt/musical_buzzer`.