Skip to content

Struct ns_camera_cfg

ClassList > ns_camera_cfg

Public Attributes

Type Name
const ns_core_api_t * api
API prefix.
ns_camera_hw_e cameraHw
uint32_t dmaBufferLength
uint32_t dmaBufferOffset
ns_camera_dma_cb dmaCompleteCb
If using DMA, this will be called when DMA chunk is complete.
ns_image_mode_e imageMode
ns_image_pix_fmt_e imagePixFmt
int8_t iom
Apollo4 IOM port.
ns_camera_picture_cb pictureTakenCb
If using polling timer, this will be called when pic is ready to xfer.
ns_spi_config_t spiConfig
uint32_t spiSpeed
= CAM_SPI_SPEED;

Public Attributes Documentation

variable api

const ns_core_api_t* ns_camera_cfg::api;

variable cameraHw

ns_camera_hw_e ns_camera_cfg::cameraHw;

variable dmaBufferLength

uint32_t ns_camera_cfg::dmaBufferLength;

variable dmaBufferOffset

uint32_t ns_camera_cfg::dmaBufferOffset;

variable dmaCompleteCb

ns_camera_dma_cb ns_camera_cfg::dmaCompleteCb;

variable imageMode

ns_image_mode_e ns_camera_cfg::imageMode;

variable imagePixFmt

ns_image_pix_fmt_e ns_camera_cfg::imagePixFmt;

variable iom

int8_t ns_camera_cfg::iom;

variable pictureTakenCb

ns_camera_picture_cb ns_camera_cfg::pictureTakenCb;

variable spiConfig

ns_spi_config_t ns_camera_cfg::spiConfig;

variable spiSpeed

uint32_t ns_camera_cfg::spiSpeed;

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-camera/includes-api/ns_camera.h