Part Number: F28M36P63C2
Hello,
This is a general query i have with regards to understanding a piece of code i found while using one of the header files. Please excuse me as this is just a general coding question i am hoping to find an answer for and i know it doesn't really apply to questions usually asked on here. This is the piece of code,
struct GPA1_BITS { // bits description
Uint16 GPIO0 : 2; // 1:0 GPIO0
Uint16 GPIO1 : 2; // 3:2 GPIO1
Uint16 GPIO2 : 2; // 5:4 GPIO2
Uint16 GPIO3 : 2; // 7:6 GPIO3
Uint16 GPIO4 : 2; // 9:8 GPIO4
Uint16 GPIO5 : 2; // 11:10 GPIO5
Uint16 GPIO6 : 2; // 13:12 GPIO6
Uint16 GPIO7 : 2; // 15:14 GPIO7
Uint16 GPIO8 : 2; // 17:16 GPIO8
Uint16 GPIO9 : 2; // 19:18 GPIO9
Uint16 GPIO10 : 2; // 21:20 GPIO10
Uint16 GPIO11 : 2; // 23:22 GPIO11
Uint16 GPIO12 : 2; // 25:24 GPIO12
Uint16 GPIO13 : 2; // 27:26 GPIO13
Uint16 GPIO14 : 2; // 29:28 GPIO14
Uint16 GPIO15 : 2; // 31:30 GPIO15
};
My query is regarding the number associated with the GPIO's. What is the physical meaning of the number?? Is it the memory size of the GPIO variable or the value set associated with it??
Thanks,
Srini