Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
SYS_CLK_FrequencyPeripheralGet The File I/O library requires the user to define the peripheral clock
frequency (Hz)
SYS_CLK_FrequencyInstructionGet The File I/O library requires the user to define the instruction clock
frequency (Hz)
Module
File I/O Configuration Options
Description
Several functions performed by the File I/O Library are timing-based. To facilitate these functions, the user must define
several functions or macros to describe how the part is clocked.
1.5.1.1.1 SYS_CLK_FrequencySystemGet Macro
File
system_template.h
Syntax
#define SYS_CLK_FrequencySystemGet 32000000
Description
The File I/O library requires the user to define the system clock frequency (Hz)
1.5.1.1.2 SYS_CLK_FrequencyPeripheralGet Macro
File
system_template.h
Syntax
#define SYS_CLK_FrequencyPeripheralGet SYS_CLK_FrequencySystemGet()
Description
The File I/O library requires the user to define the peripheral clock frequency (Hz)
1.5.1.1.3 SYS_CLK_FrequencyInstructionGet Macro
File
system_template.h
Syntax
#define SYS_CLK_FrequencyInstructionGet (SYS_CLK_FrequencySystemGet() / 2)
Description
The File I/O library requires the user to define the instruction clock frequency (Hz)
1.5.1.2 Feature Disable
Describes macros that the user can define to disable File I/O library features.
Macros
Name Description
FILEIO_CONFIG_DIRECTORY_DISABLE Define FILEIO_CONFIG_FUNCTION_DIRECTORY to disable
use of directories on your drive. Disabling this feature will limit
you to performing all file operations in the root directory.
1.5 Configuring the Library MLA - File I/O Library Help File I/O Configuration Options
14
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_fileio.pdf