.. | .. |
---|
67 | 67 | * (2 bytes). The DAP can operate in 3 modes: |
---|
68 | 68 | * (1) only short |
---|
69 | 69 | * (2) only long |
---|
70 | | -* (3) both long and short but short preferred and long only when necesarry |
---|
| 70 | +* (3) both long and short but short preferred and long only when necessary |
---|
71 | 71 | * |
---|
72 | 72 | * These modes must be selected compile time via compile switches. |
---|
73 | 73 | * Compile switch settings for the different modes: |
---|
.. | .. |
---|
112 | 112 | * + single master mode means no use of repeated starts |
---|
113 | 113 | * + multi master mode means use of repeated starts |
---|
114 | 114 | * Default is single master. |
---|
115 | | -* Default can be overriden by setting the compile switch DRXDAP_SINGLE_MASTER. |
---|
| 115 | +* Default can be overridden by setting the compile switch DRXDAP_SINGLE_MASTER. |
---|
116 | 116 | * |
---|
117 | 117 | * Slave: |
---|
118 | 118 | * Single/multi master selected via the flags in the FASI protocol. |
---|
119 | 119 | * + single master means remember memory address between i2c packets |
---|
120 | 120 | * + multimaster means flush memory address between i2c packets |
---|
121 | 121 | * Default is single master, DAP FASI changes multi-master setting silently |
---|
122 | | -* into single master setting. This cannot be overrriden. |
---|
| 122 | +* into single master setting. This cannot be overridden. |
---|
123 | 123 | * |
---|
124 | 124 | */ |
---|
125 | 125 | /* set default */ |
---|
.. | .. |
---|
139 | 139 | * In single master mode, data can be written by sending the register address |
---|
140 | 140 | * first, then two or four bytes of data in the next packet. |
---|
141 | 141 | * Because the device address plus a register address equals five bytes, |
---|
142 | | -* the mimimum chunk size must be five. |
---|
| 142 | +* the minimum chunk size must be five. |
---|
143 | 143 | * If ten-bit I2C device addresses are used, the minimum chunk size must be six, |
---|
144 | 144 | * because the I2C device address will then occupy two bytes when writing. |
---|
145 | 145 | * |
---|