DBGU_Configure
Default mainpageat91libperipheralsdbguDBGU_Configure
Description Source Call Graph
DBGU_Configure
Initializes the DBGU with the given parameters, and enables both the transmitter and the receiver.
 
Syntax / parameters
void DBGU_Configure (unsigned int mode, unsigned int baudrate, unsigned int mck)

Name Type Default Description
mode unsigned int
  Operating mode to configure.
baudrate unsigned int
  Desired baudrate (e.g. 115200).
mck unsigned int
  Frequency of the system master clock in Hz.
Description
Initializes the DBGU with the given parameters, and enables both the transmitter and the receiver.
The mode parameter contains the value of the DBGU_MR register. Value DBGU_STANDARD can be used for mode to get the most common configuration (i.e. aysnchronous, 8bits, no parity, 1 stop bit, no flow control).
 
Source
The documentation for this Member was generated from the following files:
  • dbgu.c