Mercurial > hg > beaglert
comparison include/DigitalChannelManager.h @ 361:1b053bc0a4b5 prerelease
Doxyfile and minor corrections to docs
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 09 Jun 2016 00:36:54 +0100 |
parents | 1b23300f3e78 |
children | 838a4a4a8580 |
comparison
equal
deleted
inserted
replaced
360:8e0dee85b73a | 361:1b053bc0a4b5 |
---|---|
73 * | 73 * |
74 * Parses the input array and looks for state changes in the bits | 74 * Parses the input array and looks for state changes in the bits |
75 * managed as message-rate inputs and invokes the | 75 * managed as message-rate inputs and invokes the |
76 * appropriate callbacks. | 76 * appropriate callbacks. |
77 * | 77 * |
78 * @param the array of input values | 78 * @param array the array of input values |
79 * @length the length of the array | 79 * @param length the length of the array |
80 * | 80 * |
81 */ | 81 */ |
82 void processInput(uint32_t* array, unsigned int length){ | 82 void processInput(uint32_t* array, unsigned int length){ |
83 if(callbackEnabled == false){ | 83 if(callbackEnabled == false){ |
84 return; | 84 return; |
117 * bits managed as message-rate outputs. | 117 * bits managed as message-rate outputs. |
118 * Bits marked as input and unmanaged bits are left alone. | 118 * Bits marked as input and unmanaged bits are left alone. |
119 * | 119 * |
120 * It also updates the channel directions. | 120 * It also updates the channel directions. |
121 * | 121 * |
122 * @param the array of input values | 122 * @param array the array of input values |
123 * @length the length of the array | 123 * @param length the length of the array |
124 * | 124 * |
125 */ | 125 */ |
126 void processOutput(uint32_t* array, unsigned int length){ | 126 void processOutput(uint32_t* array, unsigned int length){ |
127 uint32_t orWord = ((setDataOut << 16) | modeInput); | 127 uint32_t orWord = ((setDataOut << 16) | modeInput); |
128 uint32_t andWord = ~((clearDataOut << 16) | modeOutput); | 128 uint32_t andWord = ~((clearDataOut << 16) | modeOutput); |