All the driverlib examples use ADC12_B_MEMORY_0 as the parameter to ADC12_B_startConversion().
This only happens to work as ADC12_B_MEMORY_0 is defined as 0. If you tried another memory the wrong ADC would be read. The parameter to ADC12_B_startConversion is an index NOT address offset.
eg. To select memory 3, use 3 not ADC12_B_MEMORY_3.