#include <Camera.h>
nxpcup::Camera::Camera |
( |
const Config & |
config | ) |
|
|
inline |
Constructor of class Camera.
- Parameters
-
uint32_t nxpcup::Camera::expositionUs |
( |
| ) |
const |
|
inline |
Get the actual exposition in microsecond.
Returns reference to internalImage}.
ImageType nxpcup::Camera::pixel |
( |
int |
index | ) |
const |
|
inline |
Get one pixel from line image.
- Parameters
-
index | of the pixel (0 - 127) - clamped |
- Returns
- one pixel
Get pointer to array with pixels.
- Returns
- pointer to array of pixels
void nxpcup::Camera::setExpositionMs |
( |
uint32_t |
exposition_ms | ) |
|
|
inline |
Set the exposition time in millisecond.
- Parameters
-
exposition_ms | time of exposition in millisecond - clamped (0 <-> 150) |
void nxpcup::Camera::setExpositionUs |
( |
uint32_t |
exposition_us | ) |
|
|
inline |
Set the exposition time in microsecond.
- Parameters
-
exposition_us | time of exposition in microsecond - clamped (0 <-> 150000) |
void nxpcup::Camera::update |
( |
| ) |
|
|
inline |
Update the data from camera with exact exposition.
Load one image, skip the data. Wait for exposition time. Load the final image and save.
void nxpcup::Camera::updateImage |
( |
| ) |
|
|
inlineprotected |
Update the data from camera immediate (without set exposition).
constexpr int nxpcup::Camera::ImageSize = 128 |
|
static |
AnalogIn nxpcup::Camera::m_analogOut |
|
protected |
Read the analog data from camera
DigitalOut nxpcup::Camera::m_clk |
|
protected |
uint32_t nxpcup::Camera::m_expositionUs = 10000 |
|
protected |
DigitalOut nxpcup::Camera::m_si |
|
protected |
The documentation for this class was generated from the following file: