We do not have a complete example for PSoC5LP. But we have used a similar one for PSoC4BLE device. Please have a look at th project http://www.cypress.com/blog/100-projects-100-days/project-047-psoc-4-ble-accelerometer-controlled-car
Look at the data sheet for the SAR ADC component, together with the analog mux component. These two together make it quite simple to read the data of the accelerometer.