Skip to content

Interrupt appears to be fired straight after Start() is called #6

Description

@synergie7

Hi,

The interrupt seems to be triggered immediately after start() is called.

My work around is to have add a global

volatile bool isResetting=false;

Then in start() set
isResetting=true;

and in the ISR change the code so that overflow is only called if not restting

if (isResetting)
{
    isResetting=false;
    return;
}
else
{
    FlexiTimer2::_overflow();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions