Files
kern/backup/libk/include/drivers/pcspk.h
T
2024-12-28 21:23:58 +01:00

15 lines
238 B
C

#ifndef _DRIVERS_PCSPK_H
#define _DRIVERS_PCSPK_H
#include <sys/notes.h>
#include <stdint.h>
#define PC_SPEAKER 0x61
void enableSpeaker();
void disableSpeaker();
void playNote(note_t note, uint32_t ms);
void rest(uint32_t ms);
#endif