The following diagram indicates the comparison between the different ways. HWREG can be used to increase the code efficiency by accessing the registers directly, however DriverLib is the preferred ...