boards/pic32-clicker/include/periph_conf.h File Reference

peripheral configuration for the MikroE PIC32 Clicker More...

Detailed Description

#include "periph_cpu.h"
+ Include dependency graph for boards/pic32-clicker/include/periph_conf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define PERIPHERAL_CLOCK   (96000000) /* Hz */
 The peripheral clock is required for the UART Baud rate calculation It is configured by the 'config' registers (see pic32_config_settings.c) Note 120MHz is the max F for this device.
Timer definitions
#define TIMER_NUMOF   (1)
#define TIMER_0_CHANNELS   (3)
UART Definitions
     There are 4 UARTS available on this CPU.

We route debug via UART3 on this board, this is the UART connected to the MikroBUS

Note Microchip number the UARTS 1->4

#define UART_NUMOF   (4)
#define DEBUG_VIA_UART   (3)
#define DEBUG_UART_BAUD   (9600)