The Wikipedia article OP mentioned is a good place to start: https://en.wikipedia.org/wiki/Adenosine_triphosphate
Both carbohydrates and fats have direct pathways to ATP. Protein does not. Protein must first go through gluconeogenesis: https://en.wikipedia.org/wiki/Gluconeogenesis