📄 node_id.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 micro/include/node_id.h * @brief Uses the eeprom to get and set the node id. * @author Charles Gruenwald III * @date Created: 04/14/2004 *//** @brief Gets the node id. * @return Node id */uint16_t mos_node_id_get(void);/** @brief Init the node id. */void mos_node_id_init(void);/** @brief Sets the node id. * @param new_node_id New node id */void mos_node_id_set(uint16_t new_node_id);/** @brief Broadcast address (sends to all nodes) */#define BROADCAST_ADDR 0xffff
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -