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§
- fifos
- Provides the high level interface for DMA FIFOs.
- irq
- The IRQ module implements handling for interrupts to and from the FPGA.
- registers
- Implements the register interfaces to the FPGA.
- session
- Holds session management functions for the FPGA.
- types
Structs§
- NiFpga
Status - Wrapper for the status return from th NI FPGA library where the value represents the errors.