This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Gpio documentation

Hi,

This is a simple one.  

 

The 8148 TRM (sprugz8) says that:

The general-purpose interface combines two general-purpose input/output (GPIO) banks. Each GPIO
module provides 32 dedicated general-purpose pins with input and output capabilities; thus, the
general-purpose interface supports up to 64 (2 × 32) pins.

The device manual says that:

The device contains four GPIO modules and each GPIO module is made up of 32 identical channels.

 

I believe the device manual I guess.   The TRM makes me think that '1' GPIO module contains '2' 32-bit banks for a total of 64, but the GPIO registers section doesn't really match that.    Or, I could be misunderstanding the TRM - maybe it means there are 32 pins that can be input or output, therefore there is 64 'functions'.    There are 2 separate interrupt lines, so maybe that's part of the confusion.

Anyway, let me know what you think.   I'm going with the device manual which seems to be backed up by the TRM register configurations but want to make sure I'm not missing something.

Br,
Matt