AnsweredAssumed Answered

Some qouestions about fsl_guts.h

Question asked by jack rubby on Oct 9, 2013
Latest reply on Oct 16, 2013 by Scott Wood

Hi anybody,

 

I read fsl_guts.h in powerpc architecture and saw Global Utility Registers like gpiocr as GPIO Control Register, gpindr as General-Purpose Input Data Register and gpoutdr as General-Purpose Output Data Register. But in GPIO registers in p1022 reference manual we have GPDIR register to set specify GPIO direction and GPDAT register for GPIO data register. We have only one register for data but fsl_guts.h defines two register for input an output data.

 

Does gpiocr work as GPDIR?

For GPDAT, which of the two registers I should use? gpindr or gpoutdr?

 

Thanks,

Regards.

Outcomes