How to enable USART1 clock in Arduino Due SAM3x8E?
In the file, variant.h, the hardware serial ports are instantiated as:
extern UARTClass Serial;
extern USARTClass Serial1;
extern USARTClass Serial2;
extern USARTClass Serial3;
So, for USART1 you would add the line:
Serial1.begin(9600);
You can enable it by doing below:
PMC->PMC_PCER0 |= (1 << ID_USART1);