Skip to content
Snippets Groups Projects
Select Git revision
  • 75dc1c360f313c657726faa18ba4ce79edaab754
  • main default protected
  • gitkeep
  • dev
  • ipynb
  • 81-add-id-to-figure-file-metadata
  • v0.3.2
  • v0.3.1
  • v0.3.0
  • v0.2.3
  • test_tag
  • v0.2.2
  • v.0.2.1
  • v0.2.1
  • v0.1.2
  • v0.1.1
  • v0.1.0
17 results

create_id.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    board_impl.h 604 B
    #ifndef _BOARD_H
    #define _BOARD_H
    
    #include <simavr/sim_irq.h>
    #include <simavr/avr_spi.h>
    #include <simavr/avr_ioport.h>
    
    #include "../common/compat.h"
    #include "../common/board.h"
    #include "../common/log.h"
    
    // P = IOPORT_IRQ_PIN...
    #define IRQ_IOPORT(avr, N, P) avr_io_getirq(avr, AVR_IOCTL_IOPORT_GETIRQ(N), P)
    #define IRQ_SPI(avr, N, P) avr_io_getirq(avr, AVR_IOCTL_SPI_GETIRQ(N), P)
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    EXPORT BOARD_LOAD_F(board, argc, argv);
    
    static void board_configure_log(board_t *board) {
        logger = board->logger;
    }
        
    #ifdef __cplusplus
    }
    #endif
    
    
    #endif //_BOARD_H