NEORV32 - Software Framework Documentation
Loading...
Searching...
No Matches
Functions
neorv32_cfs.c File Reference

Custom Functions Subsystem (CFS) HW driver source file. More...

#include "neorv32.h"
#include "neorv32_cfs.h"

Functions

int neorv32_cfs_available (void)
 

Detailed Description

Custom Functions Subsystem (CFS) HW driver source file.

Warning
There are no "real" CFS driver functions available here, because these functions are defined by the actual hardware.
Hence, the CFS designer has to provide the actual driver functions.
Note
These functions should only be used if the CFS was synthesized (IO_CFS_EN = true).

Function Documentation

◆ neorv32_cfs_available()

int neorv32_cfs_available ( void )

Check if custom functions subsystem was synthesized.

Returns
0 if CFS was not synthesized, 1 if CFS is available.