📄 mica2-magnet.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -