mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 12:11:34 +02:00
tools/lib/misctxrx.c: decode AMI and CCA_ED_DONE interrupts (231 only)
This commit is contained in:
parent
0c7146cad9
commit
1befc69e37
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* lib/misctxrx.c - Miscellaenous transceiver helper functions
|
* lib/misctxrx.c - Miscellaenous transceiver helper functions
|
||||||
*
|
*
|
||||||
* Written 2010 by Werner Almesberger
|
* Written 2010-2011 by Werner Almesberger
|
||||||
* Copyright 2010 Werner Almesberger
|
* Copyright 2010-2011 Werner Almesberger
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -62,6 +62,10 @@ uint8_t wait_for_interrupt(struct atrf_dsc *dsc, uint8_t wait_for,
|
|||||||
fprintf(stderr, " RX_START");
|
fprintf(stderr, " RX_START");
|
||||||
if (irq & IRQ_TRX_END)
|
if (irq & IRQ_TRX_END)
|
||||||
fprintf(stderr, " TRX_END");
|
fprintf(stderr, " TRX_END");
|
||||||
|
if (irq & IRQ_CCA_ED_DONE)
|
||||||
|
fprintf(stderr, " CCA_ED_DONE");
|
||||||
|
if (irq & IRQ_AMI)
|
||||||
|
fprintf(stderr, " AMI");
|
||||||
if (irq & IRQ_TRX_UR)
|
if (irq & IRQ_TRX_UR)
|
||||||
fprintf(stderr, " TRX_UR");
|
fprintf(stderr, " TRX_UR");
|
||||||
if (irq & IRQ_BAT_LOW)
|
if (irq & IRQ_BAT_LOW)
|
||||||
|
Loading…
Reference in New Issue
Block a user