// HardwareProfile.h

// PIC32MZ2048EFH100

#ifndef _HARDWAREPROFILE_H_
#define _HARDWAREPROFILE_H_

// CPU clock PBCLK7
#define GetSystemClock()            200000000UL

// PBCLK2 UART I2C
#define GetPeripheralClock2()       (GetSystemClock()/2)

// PBCLK3 Timer, Output Compare, Input Capture
#define GetPeripheralClock3()       (GetSystemClock()/2)



#define BAUDRATE1       31250 //19200
#define BRG_DIV1        4      //16
#define BRGH1           1      //0

#define BAUDRATE2       115200 //19200
#define BRG_DIV2        4      //16
#define BRGH2           1      //0

#include <xc.h>

//#include "uart1.h"
#include "uart2.h"

#endif  // _HARDWAREPROFILE_H_
