Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

PPI - Parallel Peripheral Interface


Files

file  otPPI.h
 PPI Library for BF51x.

Modules

 Version History

Functions

void PPI_CamInit (U8 busSize, bool pci)
void PPI_CamStart ()
void PPI_CamStop ()
void PPI_CamGrabArm (U16 xSize, U16 ySize, U32 frames, bool word, void *data, bool pixClockInvert)
void PPI_CamGrab (U16 xSize, U16 ySize, U32 frames, bool word, void *data)
void PPI_CamGrabStart (U16 xSize, U16 ySize, U32 frames, bool word, void *data)
void PPI_CamGrabWait ()
bool PPI_CamGrabIsDone ()

Detailed Description

Dependency:
PORT - Procedure for parallel port usage

Function Documentation

void PPI_CamGrab U16  xSize,
U16  ySize,
U32  frames,
bool  word,
void *  data
 

Init PPI registers for the image grab and wait a complete grab

Parameters:
xSize Horizontal image pixel
ySize Vertical image pixel
frames Stack size or number of frames
word True if bus size if greather then 8 bit
data Where to store read data

void PPI_CamGrabArm U16  xSize,
U16  ySize,
U32  frames,
bool  word,
void *  data,
bool  pixClockInvert
 

Init PPI registers for the image grab

Parameters:
xSize Horizontal image pixel
ySize Vertical image pixel
frames Stack size or number of frames
word True if bus size if greather then 8 bit
data Where to store read data
pixClockInvert If true pixel clock used to sample pixel data work on falling edge

bool PPI_CamGrabIsDone  ) 
 

Return true if the grab is done.

Returns:
True on grab done

void PPI_CamGrabStart U16  xSize,
U16  ySize,
U32  frames,
bool  word,
void *  data
 

Init PPI registers for the image grab, start the grab but don't wait the completion of the grab

Parameters:
xSize Horizontal image pixel
ySize Vertical image pixel
frames Stack size or number of frames
word True if bus size if greather then 8 bit
data Where to store read data

void PPI_CamGrabWait  ) 
 

Wait the completion of the grab

void PPI_CamInit U8  busSize,
bool  pci
 

Init PPI to grab a CMOS image sensor output with a parallel bus with 3 sync signals

Parameters:
busSize Bus width, 8,10 or 12 bit
pci If true invert pixel clock sampling edge

void PPI_CamStart  ) 
 

Enable PPI read

void PPI_CamStop  ) 
 

Stop PPI read

footer

otStudio - Library Reference - (C) 2020-25 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0