* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LINK_MSO19_H
-#define LINK_MSO19_H
+#ifndef SIGROK_LINK_MSO19_H
+#define SIGROK_LINK_MSO19_H
/* our private per-instance data */
struct mso {
};
static struct rate_map rate_map[] = {
- { MHZ(200), 0x0205, 0 },
- { MHZ(100), 0x0105, 0 },
- { MHZ(50), 0x0005, 0 },
- { MHZ(20), 0x0303, 0 },
- { MHZ(10), 0x0308, 0 },
- { MHZ(5), 0x030c, 0 },
- { MHZ(2), 0x0330, 0 },
- { MHZ(1), 0x0362, 0 },
- { KHZ(500), 0x03c6, 0 },
- { KHZ(200), 0x07f2, 0 },
- { KHZ(100), 0x0fe6, 0 },
- { KHZ(50), 0x1fce, 0 },
- { KHZ(20), 0x4f86, 0 },
- { KHZ(10), 0x9f0e, 0 },
- { KHZ(5), 0x03c7, 0x20 },
- { KHZ(2), 0x07f3, 0x20 },
- { KHZ(1), 0x0fe7, 0x20 },
+ { SR_MHZ(200), 0x0205, 0 },
+ { SR_MHZ(100), 0x0105, 0 },
+ { SR_MHZ(50), 0x0005, 0 },
+ { SR_MHZ(20), 0x0303, 0 },
+ { SR_MHZ(10), 0x0308, 0 },
+ { SR_MHZ(5), 0x030c, 0 },
+ { SR_MHZ(2), 0x0330, 0 },
+ { SR_MHZ(1), 0x0362, 0 },
+ { SR_KHZ(500), 0x03c6, 0 },
+ { SR_KHZ(200), 0x07f2, 0 },
+ { SR_KHZ(100), 0x0fe6, 0 },
+ { SR_KHZ(50), 0x1fce, 0 },
+ { SR_KHZ(20), 0x4f86, 0 },
+ { SR_KHZ(10), 0x9f0e, 0 },
+ { SR_KHZ(5), 0x03c7, 0x20 },
+ { SR_KHZ(2), 0x07f3, 0x20 },
+ { SR_KHZ(1), 0x0fe7, 0x20 },
{ 500, 0x1fcf, 0x20 },
{ 200, 0x4f87, 0x20 },
{ 100, 0x9f0f, 0x20 },
0x8eff,
0x8fff,
};
-#endif
+#endif