Zephyr Project
4.4.99
Introduction
Developing with Zephyr
Kernel
Services
Build and Configuration Systems
Hardware Support
Contributing to Zephyr
Project and Governance
Security
Safety
Samples and Demos
Application Development
Architecture-dependent Samples
Basic
Bluetooth
Boards
C++
Data Structures
Drivers
ADC
Audio
Auxiliary display
Auxiliary digits display
Biometrics
Buzzer
Buzzer Tone
Controller Area Network (CAN)
Charger
LiteX clock control driver
Microchip XEC (MEC15xx/MEC172x) clock control driver sample application
Clock Monitor
Counter
Cyclic Redundancy Check Drivers (CRC)
Crypto
Digital-to-Analog Converter (DAC)
Digital Addressable Lighting Interface (DALI)
Display
EEPROM
Enhanced Serial Peripheral Interface (eSPI)
Ethernet
Firmware Samples
Flash shell
FPGA
Fuel Gauge
GNSS
General Purpose I/O (GPIO)
Haptics
HT16K33 LED driver with keyscan
HWSPINLOCK
Inter-Integrated Circuit (I2C) Bus
I2S
Interrupt controller
Inter-Processor Mailbox (IPM)
JESD216 flash
HD44780 LCD controller
Light-Emitting Diode (LED)
LoRa
MBOX
MBOX Data
Memory controller (MEMC) driver
Multi-Function Device (MFD) with Charger, Fuel Gauge, and Regulators
Miscellaneous
Modem
Multi-bit SPI Bus (MSPI)
OPAMP
PECI interface
PS/2 interface
PSI5 interface
Pulse IO
PWM
Real-Time Clock (RTC)
SENT interface
SMBus shell
nRF SoC Internal Storage
SPI
SPI bitbang
JEDEC SPI-NOR flash
AT45 DataFlash driver
Stepper
Time-aware GPIO
Universal Asynchronous Receiver-Transmitter (UART)
Virtualization
1-Wire
Watchdog
Hello World
Kernel and Scheduler
External modules
Networking
Dining Philosophers
PSA
Regulator
Sensors
Shields
Subsystems
Basic Synchronization
Sysbuild
TF-M Integration
Userspace
Sample Definition and Criteria
Supported Boards and Shields
Releases
Zephyr Project
Samples and Demos
Drivers
Buzzer
View page source
Buzzer
These samples demonstrate how to drive buzzers through the
Buzzer
.
Buzzer Tone
Play a short beep and a few tones through the buzzer device aliased as buzzer0.
Zephyr Project
Bridle
Bridle API
Zephyr Project API
Kconfig Reference
Devicetree Bindings
CANnectivity