Skip to content

prussdrv_pru_clear_event swap parameters #41

@arielfernando

Description

@arielfernando

I had a problem using this function.

The function definition is:
int prussdrv_pru_clear_event (unsigned int host_interrupt, unsigned int eventnum);

and the example is
prussdrv_pru_clear_event ( PRU0_ARM_INTERRUPT, PRU_EVTOUT0 );

but this example doesn't work. To make it work I had to swap the parameters:
prussdrv_pru_clear_event(PRU_EVTOUT_0, PRU0_ARM_INTERRUPT);

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions