EasyManua.ls Logo

HORNER XL4 - System Registers for Removable Media Interface

HORNER XL4
194 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MAN0964-14-EN_XL4_XL4P_UM
N o v e m b e r 1 0 , 2 0 2 1 P a g e 155 | 194
16.14 System Registers used with RM
%SR174 – Removable Media Protect. Write a one (1) to %SR174 to prohibit read/write access to
the removable media card. Write a zero (0) to allow access.
%SR175 Status – This shows the current status of the RM interface.
%SR176 Free Space – This 32-bit register shows the free space on the RM card in bytes.
%SR178 Card Capacity – This 32-bit register shows the total card capacity in kilobytes.
Possible status values are shown in the table:
Table 16.3 – RM Status Values
0
RM interface OK
1
Card present but unknown format
2
No card in slot
3
Card present, but not supported
4
Card swapped before operation was complete
5
Unknown error

Table of Contents