-#define STROBE_ON() PIOB_SODR = BV(13)
-#define STROBE_OFF() PIOB_CODR = BV(13)
-#define STROBE_INIT() \
- do { \
- PIOB_OER = BV(13); \
- PIOB_PER = BV(13); \
- } while(0)
-
-static DECLARE_ISR(hsmci_irq)
-{
- uint32_t status = HSMCI_SR;
- if (status & BV(HSMCI_IER_DMADONE))
- {
- }
-}
-
-
-static DECLARE_ISR(dmac_irq)
-{
- uint32_t stat = DMAC_EBCISR;
-
- if (stat & BV(DMAC_EBCISR_ERR3))
- {
- kprintf("err %08lx\n", stat);
- }
-}