Skip to content

Single-row read function? #7

@drewhamiltonasdf

Description

@drewhamiltonasdf

Would it be possible to implement a single-row read function in hmo1b0.c? I don't have the camera yet to test this out, but my application requires this, as I can't have a blocking full-frame read in my code. Not sure how to select the row I need however...

Any suggestions? I know this is the only place there is any hope of anyone answering this question.

    // read one row
    while(HM01B0_READ_HSYNC)
    {
        while(0x00 == HM01B0_READ_PCLK);

        *(pui8Buffer + ui32Idx++) = HM01B0_READ_BYTE;

        if (ui32Idx == ui32BufferLen) {
            goto end;
        }

        while(HM01B0_READ_PCLK);
    }

    ui32HsyncCnt++;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions