- 博客(16)
- 资源 (77)
- 收藏
- 关注
转载 睡眠时间
乔布斯年轻时每天凌晨四点起床,九点半前把一天工作做完。 他说:自由从何而来?从自信来,而自信则是从自律来! 先学会克制自己,用严格的日程表控制生活,才能在这种自律中不断磨练出自信。 自信是对事情的控制能力,如果你连最基本的时间都控制不了,还谈什么自信? 素食可以减少睡眠时间 人的一生约有三分之一的时间是在睡眠中度过的。那么动物呢?意大利科研人员经过调查发现,动物界当中,睡觉时间最多
2015-06-27 22:37:46 990
转载 汇编+内核+代码阅读
嵌入式这块如果你想深入的话,汇编和体系结构要学好,然后是操作系统要了解透、中断处理、内存管理和内核结构体等等都能达到掌握程度,另外再加上代码的阅读能力就差不多了。
2015-06-27 11:29:30 682
原创 Design Patterns Elements of Reusable Object-Oriented Software
Design Patterns Elements of Reusable Object-Oriented Software
2015-06-26 09:52:59 710
原创 用过的协议和device
1,协议: SPI: 对应的device: Digital Potentiometer: MCP41010 EEPROM: Atmel Flash: AT45DB161D //-----------------------------------------------------------------------------------------------
2015-06-18 18:31:12 1015
原创 template test
template class SysParam { struct { short TargetTemp[TempN]; short TargetVolt[FireN]; }SysParamData; public: //SysParam(); //~SysParam(); //virtual void InitSysParam(){}; //allocate spa
2015-06-17 19:01:21 635
转载 UCOS统一驱动框架:
UCOS统一驱动框架: http://wenku.baidu.com/view/7f853220dd36a32d73758139.html
2015-06-15 23:27:54 3318
原创 typing today
#include #include #include #include #include #include using namespace std; const short InTimeUnit = 1000; //1us 1000ns const short OutTimeUnit = 200; //0.2us 200ns typedef struct{
2015-06-12 19:04:21 463
原创 typing
#include #include #include #include #include #include using namespace std; const short in_time_unit = 1000;//1us 1000ns const short out_time_unit = 200; //0.2us 200ns typedef struct
2015-06-12 00:05:16 891
转载 C++中的友元函数的总结
关于C++中的友元函数的总结 1.友元函数的简单介绍 1.1为什么要使用友元函数 在实现类之间数据共享时,减少系统开销,提高效率。如果类A中的函数要访问类B中的成员(例如:智能指针类的实现),那么类A中该函数要是类B的友元函数。具体来说:为了 使其他类的成员函数直接访问该类的私有变量。即:允许外面的类或函数去访问类的私有变量和保护变量,从而使两个类共享同一函数。 实际上具体大概有
2015-06-10 17:20:47 542
转载 C++ OOP Design
Extensibility With play( )defined as virtual in the base class, you can add as many new types as you want without changing the tune( ) function. In a well-designed OOP program, most or all of your
2015-06-08 23:35:48 935
原创 Csv_robust typing
#include #include #include using namespace std; #define LogOut printf //this class don't use the container to buffer the file data,because it's too big sometimes. class Csv { public:
2015-06-08 00:20:26 835
原创 csv typing
class Csv { private: public: Csv(){}; Csv(const char *FileAddr, int FileSize); ~Csv(){}; bool ReadField(int Row, int Col, string &Str); bool ReadField(int Row, int Col, int &Val); boo
2015-06-05 18:21:23 591
原创 constructor initializer list
使用constructor initializer list 初始化 基类的成员变量、子对象的成员变量、和成员变量。 // wave_.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "wave_process.h" #include #
2015-06-02 17:46:15 875
转载 the function Passing and returning
From Page:481 Passing & returning by value To understand the need for the copy-constructor, consider the way C handles passing and returning variables by value during function calls. I
2015-06-01 00:35:37 683
嵌入式BSP基础知识
2015-03-09
arm assembly language programming (Pete_Cockerell)
2015-02-25
arm instruction spec
2015-02-16
vim 编辑器 windows版本 gvim
2016-11-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人