Jump to main content

##

# 1.2.7.4.60 SYS_FS_MEDIA_MANAGER_AddressGet Function

## C

    uintptr_t SYS_FS_MEDIA_MANAGER_AddressGet
    (
        uint16_t diskNo
    );

## Summary

Gets the starting media address based on a disk number.

## Description

This function gets the starting address of a media. This function is intended to work only with MPFS2, which does byte addressing and needs a memory address (not disk number).

## Precondition

None.

## Parameters

Param | Description
--- | ---
diskNo | media number

## Returns

Memory address of type uintptr_t.