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

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

Go to the source code of this file.

Data Structures

struct  neorv32_cfs_t
 

Macros

IO Device: Custom Functions Subsystem (CFS)
#define NEORV32_CFS   ((neorv32_cfs_t*) (NEORV32_CFS_BASE))
 

Functions

Prototypes
int neorv32_cfs_available (void)
 

Detailed Description

Custom Functions Subsystem (CFS) HW driver header file.

System Configuration Information Memory (SYSINFO) HW driver header file.

Warning
There are no "real" CFS driver functions available here, because these functions are defined by the actual hardware.
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).
See also
https://stnolting.github.io/neorv32/sw/files.html
https://stnolting.github.io/neorv32/sw/files.html

Macro Definition Documentation

◆ NEORV32_CFS

#define NEORV32_CFS   ((neorv32_cfs_t*) (NEORV32_CFS_BASE))

CFS module hardware access (neorv32_cfs_t)

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.