PSoC6 DieTemp temperature sensor

It seems that the PSoC6 chip has an onboard temperature sensor. I tried to figure out how to get a reading from it, but it was a bit overwhelming - manually configuring the analog multiplexer and ADC.

I wonder if you already have done it - made a chunk of demo-code for me to start with?