Difference between revisions of "SHIP:Port:DRIVE:SD"

From Serious Documentation
Jump to: navigation, search
 
Line 4: Line 4:
 
{{PortvarTableStart|}}
 
{{PortvarTableStart|}}
 
|{{:SHIP:Port:DRIVE:all:autoUpdate}}
 
|{{:SHIP:Port:DRIVE:all:autoUpdate}}
 +
|-
 +
|{{:SHIP:Port:DRIVE:removable:mounted}}
 
|}</onlyinclude>
 
|}</onlyinclude>
  
 
{{†}}see [[SHIP:GRMs|GRM]]
 
{{†}}see [[SHIP:GRMs|GRM]]

Latest revision as of 10:31, 15 November 2018

DRIVE.SDx ports refer to file systems on removable USB media, for example a USB Thumb Drive, plugged into a modules' SD or Micro SD card connector (if present), and are referred to in the format "platform.DRIVE.SD0", "platform.DRIVE.SD1", etc.

DRIVE.SDx ports can be referenced in various file related actions as the device on which a file is opened/closed/read/written for example. Also these ports have various attributes to determine/control their state:

Portvar Data Type Permissions Description
autoUpdate Boolean Read/Write A reboot-persistent setting, this enables/disables (if true/false) the auto-update process if firmware update files are present on the drive.
mounted Boolean Read When true, says the removable media is inserted and mounted with a valid format and file system.

see GRM