adc.c

来自「MANTIS是由科罗拉多大学开发的传感器网络嵌入式操作系统。 这是mantis」· C语言 代码 · 共 48 行

C
48
字号
//  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)/*  Project Mantis  File:   adc.c    This file implements the simulating  control of the analog to digital  conversion system on the xmos.*/#include "mos.h"#include <stdio.h>#include "adc.h"void mos_adc_init(){}void mos_adc_open(void){}void mos_adc_close(void){}inline void mos_adc_prescale(uint8_t prescale){}uint8_t mos_adc_eight_polling(uint8_t ch){  return 0;}uint16_t mos_adc_ten(uint8_t ch){  return 0;}uint8_t mos_adc_eight(uint8_t ch){   return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?