Contiki-NG
Functions

Header file for the MP3 WTV020SD driver. More...

#include "contiki.h"
#include "dev/gpio.h"
#include "mp3-wtv020sd.h"
#include <stdint.h>

Go to the source code of this file.

Functions

int mp3_wtv020sd_config (uint8_t mode)
 Init function for the MP3 driver. More...
 
int mp3_wtv020sd_gpio_play (void)
 Function to play a current track. More...
 
int mp3_wtv020sd_gpio_stop (void)
 Function to stop a current track. More...
 
int mp3_wtv020sd_gpio_next (void)
 Advances and play the next track, wraps over the playlist. More...
 
int mp3_wtv020sd_busy (void)
 Get the current status of the device (playing/stopped) More...
 
int mp3_wtv020sd_reset (void)
 Trigger a module reset. More...
 
int mp3_wtv020sd_sync_play (uint16_t track)
 Plays the selected track and waits until it stops. More...
 
int mp3_wtv020sd_async_play (uint16_t track)
 Plays the selected track and returns immediately. More...
 
int mp3_wtv020sd_stop (void)
 Stops the current track. More...
 
int mp3_wtv020sd_pause (void)
 Pauses the current track. More...
 

Detailed Description

Header file for the MP3 WTV020SD driver.

Definition in file mp3-wtv020sd.c.