mica2-magnet.h
来自「MANTIS是由科罗拉多大学开发的传感器网络嵌入式操作系统。 这是mantis」· C头文件 代码 · 共 27 行
H
27 行
// This file is part of MANTIS OS, Operating System// See http://mantis.cs.colorado.edu///// Copyright (C) 2003,2004,2005 University of Colorado, Boulder//// This program is free software; you can redistribute it and/or// modify it under the terms of the mos license (see file LICENSE)/** @file mica2-magnet.h * @brief Integrated magnetometer sensor for the mica2. * * This driver registers with the dev layer as two different devs, but they * are intertwined in hardware so we implement it in one file. * @author Charles Gruenwald III * @date 04/22/2004 */#define MAGNET_PORT_DIRE DDRC#define MAGNET_PORT PORTC#define MAGNET_PIN_MASK 0x10/*functions*//** @brief Init the mica2 magnetometer sensor. */void mica2_magnet_init();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?