pic32-clicker/include/board.h File Reference

board configuration for the MikroE PIC32 Clicker More...

Detailed Description

board configuration for the MikroE PIC32 Clicker

Author
Neil Jones Neil..nosp@m.Jone.nosp@m.s@img.nosp@m.tec..nosp@m.com

Definition in file pic32-clicker/include/board.h.

#include "periph_conf.h"
#include "vendor/p32mx470f512h.h"
+ Include dependency graph for pic32-clicker/include/board.h:

Go to the source code of this file.

Macros

#define TICKS_PER_US   (48)
 Set how many increments of the count register per uS needed by the timer code.
 
#define EIC_IRQ   (1)
 We are using an External Interrupt Controller (all pic32 devices use this mode)
 
#define LED1_PIN   GPIO_PIN(PORT_B, 1)
 LED pin configuration.
 
#define LED2_PIN   GPIO_PIN(PORT_B, 2)
 
#define LED1_MASK   (1 << 1)
 
#define LED2_MASK   (1 << 2)
 
#define LED1_ON   (LATBSET = LED1_MASK)
 
#define LED1_OFF   (LATBCLR = LED1_MASK)
 
#define LED1_TOGGLE   (LATBINV = LED1_MASK)
 
#define LED2_ON   (LATBSET = LED2_MASK)
 
#define LED2_OFF   (LATBCLR = LED2_MASK)
 
#define LED2_TOGGLE   (LATBINV = LED2_MASK)
 

Functions

void board_init (void)
 Board level initialization.