C++ API for the WT5001 Serial MP3 module.
More...
|
enum | WT5001_OPCODE_T {
NONE = 0x00,
PLAY_SD = 0xa0,
PLAY_SPI = 0xa1,
PLAY_UDISK = 0xa2,
PAUSE = 0xa3,
STOP = 0xa4,
NEXT = 0xa5,
PREVIOUS = 0xa6,
SET_VOLUME = 0xa7,
QUEUE = 0xa8,
PLAY_MODE = 0xa9,
COPY_SD2FLASH = 0xaa,
COPY_UDISK2FLASH = 0xab,
INSERT_SONG = 0xac,
SET_DATE = 0xb1,
SET_TIME = 0xb2,
SET_ALARM = 0xb3,
SET_ALARM_DUR = 0xb4,
CLEAR_ALARM = 0xb5,
CLEAR_ALARM_DUR = 0xb6,
READ_VOLUME = 0xc1,
READ_PLAY_STATE = 0xc2,
READ_SPI_NUMF = 0xc3,
READ_SD_NUMF = 0xc4,
READ_UDISK_NUMF = 0xc5,
READ_CUR_FNAME = 0xc6,
READ_CF_CHAR = 0xc7,
READ_DATE = 0xd1,
READ_TIME = 0xd2
} |
|
enum | WT5001_PLAYMODE_T { NORMAL = 0x00,
SINGLE_REPEAT = 0x01,
ALL_REPEAT = 0x02,
RANDOM = 0x03
} |
|
enum | WT5001_PLAYSOURCE_T { SD,
SPI,
UDISK
} |
|
UPM support for the WT5001 Serial MP3 Module. This was tested specifically with the Grove Serial MP3 module.