Shown here is an example of code in both the traditional register access style and using DriverLib. The goal is to set up port pin P1.0 as an input with a pull-up register, see how the DriverLib call is easy to read even without comments, and it condenses several lines of code into a single function call.