22 / 28
FMod-IPECMOT 48/10 User Manual v2.5
MEDIAACTION
Register Address
Register Name
Function
Read/Write Control
0x20
MEDIAACTION
Action on media
Write Only
Register Size
Register structure
4 Bytes
Unsigned Int 8 bits (HH)
Action type
3x Unsigned Int 8 bits (HL-LH-LL) Action
Data
Description :
Command to do an action on the media.
Action type
Description
Action Data
1
Start new video
The number of the video
2
Pause current video
None
3
Resume current video
None
4
Stop current video
None
5
Seek current video
Time in ms
6
Load video in Pause
The number of the video
7
Configure Auto Mode
Action Data = 0 => Disabled Auto-mode
Action Data >0 => Time between video,
load next video
Action Data < 0 => Time between video,
load previous video
8
Start next video
None
9
Load next video in Pause
None
10
Start previous video
None
11
Load previous video in Pause
None
Example:
MEDIAACTION = 0x01E65405 (action type = 0x05, action data =
0x01E654 = 124500) means goes in current video at time 124.5 seconds.
MEDIAACTION = 0x00000806 (action type = 0x06, action data =
0x000008) means load video 8 and put it in Pause.
MEDIAACTION = 0xFFD8F007 (action type = 0x07, action data =
0xFFD8F0 = -10000) means configure Auto Mode with a pause of 10
seconds between videos and load previous video.
Limits:
None
Active:
Each time the processor running after the boot (~25 seconds).
Some actions (2, 3, 4, 5) works only when a video is loaded.