UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
camera.c File Reference

Camera Hardware Driver - uos3-proto board. More...

Go to the source code of this file.

static char LK_RESOLUTION_1600 [] = {0x56, 0x00, 0x54, 0x01, 0x21}
 
static char LK_RESOLUTION_RE [] = {0x76, 0x00, 0x54, 0x00, 0x00}
 
static char LK_COMPRESSION [] = {0x56, 0x00, 0x31, 0x05, 0x01, 0x01, 0x12, 0x04, 0x00}
 
static char LK_COMPRESSION_RE [] = {0x76, 0x00, 0x31, 0x00, 0x00}
 
static char LK_RESET [] = {0x56, 0x00, 0x26, 0x00}
 
static char LK_RESET_RE [] = {0x0d, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x20, 0x65, 0x6e, 0x64, 0x0d, 0x0a}
 
static char LK_PICTURE [] = {0x56, 0x00, 0x36, 0x01, 0x00}
 
static char LK_PICTURE_RE [] = {0x76, 0x00, 0x36, 0x00, 0x00}
 
static char LK_JPEGSIZE [] = {0x56, 0x00, 0x34, 0x01, 0x00}
 
static char LK_JPEGSIZE_RE [] = {0x76, 0x00, 0x34, 0x00, 0x04}
 
static char LK_READPICTURE [] = {0x56, 0x00, 0x32, 0x0C, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
 
static char LK_PICTURE_TIME_dot1ms [] = {0x00, 0x0A}
 
static char LK_READPICTURE_RE [] = {0x76, 0x00, 0x32, 0x00, 0x00}
 
static char JPEG_END [] = {0xFF, 0xD9}
 
static bool UART_waitmatch (char *string, uint32_t string_length, uint32_t timeout)
 
static uint32_t UART_getw4 (uint8_t serial)
 
static bool Camera_command (char *command, uint32_t command_length, char *response, uint32_t response_length)
 
bool Camera_capture (uint32_t page_size, void(*page_store)(uint8_t *, uint32_t))
 

Detailed Description

Camera Hardware Driver - uos3-proto board.

Definition in file camera.c.