Simplicity Studio Uart Example -

#include "em_device.h" #include "em_cmu.h" #include "em_gpio.h" #include "em_usart.h"

When you installed the UART component, the system created a handle. Usually, it is named sl_uart_instance_eusart_0 (for EUSART0). To find your exact handle, look in autogen/sl_simple_uart_instances.h . simplicity studio uart example