2013-11-10

MagicBlue SPI SSEL01,02 pin assignment



























MagicBlue SPI SSEL01,02 pin assignment

.END


// ***SPI port pin assignments 2013nov10 ***

// portPinArray PortPinArraySsel   = {PORT0, PIN2};  // MagicBlue p110
// portPinArray PortPinArraySsel0  = {PORT0, PIN7};  // MagicBlue p123
// portPinArray PortPinArraySsel1  = {PORT0, PIN11}; // MagicBlue p208

portPinArray PortPinArraySsel00 = {PORT0, PIN2};  // MagicBlue p110
portPinArray PortPinArraySsel01 = {PORT0, PIN7};  // MagicBlue p123
portPinArray PortPinArraySsel02 = {PORT0, PIN11}; // MagicBlue p208

portPinArray PortPinArraySsel10 = {PORT0, PIN2};
portPinArray PortPinArraySsel11 = {PORT2, PIN0};
portPinArray PortPinArraySsel12 = {PORT2, PIN0};

// portPinArray *SlaveSelectPortPinArrayPointerArray0[] = {&PortPinArraySsel00, &PortPinArraySsel01};
// portPinArray *SlaveSelectPortPinArrayPointerArray1[] = {&PortPinArraySsel00, &PortPinArraySsel01};

portPinArray *SlaveSelectPortPinArrayPointerArrayArray[2][3] =
          {&PortPinArraySsel00, &PortPinArraySsel01, &PortPinArraySsel02, \
           &PortPinArraySsel10, &PortPinArraySsel11, &PortPinArraySsel12};

.END2

No comments:

Post a Comment