doc: reference: Add GNA API entry

Add an entry for the GNA API.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2020-03-17 12:53:52 +01:00 committed by Carles Cufí
commit ab03b538d4
3 changed files with 37 additions and 3 deletions

View file

@ -0,0 +1,23 @@
.. _gna_api:
GNA
###
Overview
********
The GNA API provides access to Intel's Gaussian Mixture Model and Neural Network
Accelerator (GNA).
Configuration Options
*********************
Related configuration options:
* :option:`CONFIG_INTEL_GNA`
API Reference
*************
.. doxygengroup:: gna_interface
:project: Zephyr

View file

@ -12,6 +12,7 @@ Peripherals
eeprom.rst
entropy.rst
flash.rst
gna.rst
gpio.rst
i2c_eeprom_slave.rst
i2c.rst

View file

@ -9,14 +9,20 @@
/**
* @file
* @brief Public API header file for Intel GNA driver
*
* This file contains the driver APIs for Intel's
* Gaussian Mixture Model and Neural Network Accelerator (GNA)
*/
#ifndef __INCLUDE_GNA__
#define __INCLUDE_GNA__
/**
* @defgroup gna_interface GNA Interface
* @ingroup io_interfaces
* @{
*
* This file contains the driver APIs for Intel's
* Gaussian Mixture Model and Neural Network Accelerator (GNA)
*/
#ifdef __cplusplus
extern "C" {
#endif
@ -213,4 +219,8 @@ static inline int gna_infer(struct device *dev, struct gna_inference_req *req,
}
#endif
/**
* @}
*/
#endif /* __INCLUDE_GNA__ */