#include <sys/atom.h>
#include <sys/event.h>
#include <sys/timer.h>
#include <sys/heap.h>
#include <cfg/arch/gpio.h>
#include <cfg/audio.h>
#include <dev/irqreg.h>
#include <dev/vscodec.h>
#include <sys/bankmem.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <memdebug.h>
Go to the source code of this file.
Data Structures | |
struct | _VSDCB |
Internal codec control block. More... | |
Defines | |
#define | AUDIO_VS1001K |
#define | VS10XX_FREQ 12288000UL |
Decoder crystal frequency. | |
#define | VS10XX_HWRST_DURATION 1 |
Minimum time in milliseconds to held hardware reset low. | |
#define | VS10XX_HWRST_RECOVER 4 |
Milliseconds to wait after hardware reset. | |
#define | VS10XX_SWRST_RECOVER 2 |
Milliseconds to wait after software reset. | |
#define | VS10XX_SCI_MODE 0 |
#define | VS10XX_SCI_RATE (VS10XX_FREQ / 6) |
#define | VS10XX_SDI_MODE 0 |
#define | VS10XX_SDI_RATE (VS10XX_FREQ / 6) |
#define | VSREQ_PLAY 0x00000001 |
#define | VSREQ_CANCEL 0x00000002 |
#define | VSREQ_BEEP 0x00000004 |
Typedefs | |
typedef struct _VSDCB | VSDCB |
Functions | |
void | FeederThread (void *arg) |
Variables | |
NUTDEVICE | devVsCodec |
VS10XX device information structure. |