📄 msp-adc.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 msp-adc.h * @brief Implements the lowest level control of the analog to digital * conversion system on the msp430x16x device. * @author Charles Gruenwald III * @date Created: 05/20/2005 */#ifndef _MSP_ADC_H_#define _MSP_ADC_H_/** @brief Init the adc device. */void adc_init();/** @brief Allow out-of-band interface with 16-bit read support. * @param ch Channel to read */uint16_t adc_read_channel16(uint8_t ch);uint16_t adc_get_conversion16(uint8_t ch);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -