Atmel AT83SND2C MP3 User Manual

Page 47

Advertising
background image

Protocol Frame Description

AT83SND2CMP3 User Guide

5-43

7525A–MP3–07/05

Player response to FS_FREAD_BLOCK command is FS_READ_BLOCK_DATA*.

Once end of file is reached, Player response to FS_READ_BLOCK command is
FS_READ_BLOCK_DATA_END*. Remote Controller can stop reading file at any
moment by sending the FS_FCLOSE command.

Note:

(*) means that the frame is a player response.

FS_FCLOSE Command Close current file (close read or close write file). This command is used to stop any read

or write file transfer. This command is not necessary :
„

when reading file and end of file is reached (FS_READ_BLOCK_DATA_END*
response).

„

when writing the last block of the file.

Table 5-47 . FS_FCLOSE command

FS_GETMEMFREESPACE Get selected memory free space left.

Table 5-48 . FS_GETMEMFREESPACE command

Player response is FS_MEMFREESPACE* frame.

FS_GETFILESIZE Get current file size in Byte.

Table 5-49 . FS_GETFILESIZE command

Player response is FS_FILESIZE* frame.

Note:

Directory size is 0.

FS_GETFILEPOS Get current file position (playing operating mode only).

Table 5-50 . FS_GETFILEPOS command

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

69h

00h

No

Yes

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

6Ah

00h

No

Yes

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

6Bh

00h

No

Yes

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

6Ch

00h

No

Yes

Advertising