Changeset 238740a in rtems


Ignore:
Timestamp:
Dec 20, 2017, 10:09:42 AM (3 years ago)
Author:
Kilian Holzinger <kilian.holzinger@…>
Branches:
5, master
Children:
f59b944
Parents:
b0b93c8a
git-author:
Kilian Holzinger <kilian.holzinger@…> (12/20/17 10:09:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/20/17 12:07:37)
Message:

Add support for arguments in ISRs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/atsam/libraries/libchip/source/pio_it.c

    rb0b93c8a r238740a  
    254254 * \param pPin  Pointer to a Pin instance.
    255255 * \param handler  Interrupt handler function pointer.
     256 * \param arg Pointer to interrupt handler argument
    256257 */
    257258void PIO_ConfigureIt(const Pin *pPin, void (*handler)(const Pin *, void *arg),
     
    272273        pSource->pPin = pPin;
    273274        pSource->handler = handler;
     275        pSource->arg = arg;
     276
    274277        _dwNumSources++;
    275278
Note: See TracChangeset for help on using the changeset viewer.