summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/pic.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-15 11:22:25 -0700
committerJosh Blum <josh@joshknows.com>2010-10-15 11:22:25 -0700
commit52229e99c90966c392f8ec74752912e3f00eec1d (patch)
treec72cfdb388745c13c73859cd254bb2ae5d7fb804 /firmware/microblaze/lib/pic.c
parent39ca8e25fc7f9b3170cb517b72640a62b15d253f (diff)
parent26b7de0ac0cd64946582b2d52ab0bb3555156039 (diff)
downloaduhd-52229e99c90966c392f8ec74752912e3f00eec1d.tar.gz
uhd-52229e99c90966c392f8ec74752912e3f00eec1d.tar.bz2
uhd-52229e99c90966c392f8ec74752912e3f00eec1d.zip
Merge branch 'flow_ctrl_with_fpga'
Diffstat (limited to 'firmware/microblaze/lib/pic.c')
-rw-r--r--firmware/microblaze/lib/pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/pic.c b/firmware/microblaze/lib/pic.c
index e89d2b755..226da5f85 100644
--- a/firmware/microblaze/lib/pic.c
+++ b/firmware/microblaze/lib/pic.c
@@ -44,7 +44,7 @@ pic_init(void)
// uP is level triggered
pic_regs->mask = ~0; // mask all interrupts
- pic_regs->edge_enable = PIC_ONETIME_INT;
+ pic_regs->edge_enable = PIC_ONETIME_INT | PIC_UNDERRUN_INT | PIC_OVERRUN_INT | PIC_PPS_INT;
pic_regs->polarity = ~0 & ~PIC_PHY_INT; // rising edge
pic_regs->pending = ~0; // clear all pending ints
}