Crate ni_fpga_interface
source ·Expand description
This crate provides an interface to NI FPGA devices.
It requires the use of a build script from the C interface in the linked ni-fpga-interface-build crate.
This module has two conceptual levels:
session::Session
- This is the main wrapper for the NI FPGA C interface. Some elements will be used directly but some will be easier to use in the higher level.- The other modules define FPGA resources and can be used with session as a higher level interface. These include:
Registers and FIFOs are dynamic according to the particular bitfile you load. For this reason, the build module generates a module with the definitions of the registers and FIFOs for you.
Modules
- Provides the high level interface for DMA FIFOs.
- The IRQ module implements handling for interrupts to and from the FPGA.
- Implements the register interfaces to the FPGA.
- Holds session management functions for the FPGA.