v_mix
Vitis Drivers API Documentation
platform.h File Reference

Functions

void init_platform ()
 Initializes the hardware platform. More...
 
void cleanup_platform ()
 Cleans up the platform by disabling caches. More...
 

Function Documentation

void cleanup_platform ( )

Cleans up the platform by disabling caches.

This function is typically called during the shutdown or cleanup phase of an embedded application to ensure that all processor caches are disabled, which may be necessary before powering down or resetting the system.

References disable_caches().

void init_platform ( )

Initializes the hardware platform.

This function sets up the necessary hardware components for the platform, such as enabling caches and initializing the UART. If running outside of the SDK, the user may need to call ps7_init() to initialize the processing system, which requires including "ps7_init.h" and linking with ps7_init.c.

Note: Ensure that all required initialization files are included in the project if ps7_init() is used.

References enable_caches(), and init_uart().

Referenced by main().