├── .gitignore ├── GPS无线通信培训交流 ├── GNSS Introduction and Location Technology Overview.pdf ├── GPS_Record.docx ├── GPS原理与接收机设计 谢钢 著.pdf ├── GPS定位基本原理--科普版.ppt ├── GPS软件接收机的实现与定位算法研究.pdf ├── 卫星导航原理与应用.pptx └── 软件无线电原理与应用(杨小牛).pdf ├── LIS3DH.pdf ├── LIS3DH_Application_note.pdf ├── README.md ├── S110_SoftDevice_Specification_v1.3A.pdf ├── SystemC和SystemVerilog比较.doc ├── autoconf && automake.doc ├── g++头文件默认路径添加 ├── mx25l1606e ├── mx25L1606E.c ├── mx25L1606E.h ├── spi.c └── spi.h ├── vimrc ├── 数据格式说明1.0.xlsx └── 陀螺仪LIS3DH驱动程序.doc /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | *.obj 6 | 7 | # Compiled Dynamic libraries 8 | *.so 9 | *.dylib 10 | *.dll 11 | 12 | # Compiled Static libraries 13 | *.lai 14 | *.la 15 | *.a 16 | *.lib 17 | 18 | # Executables 19 | *.exe 20 | *.out 21 | *.app 22 | 23 | *.vcd 24 | *~ 25 | Debug/ 26 | Release/ 27 | 28 | -------------------------------------------------------------------------------- /GPS无线通信培训交流/GNSS Introduction and Location Technology Overview.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/GNSS Introduction and Location Technology Overview.pdf -------------------------------------------------------------------------------- /GPS无线通信培训交流/GPS_Record.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/GPS_Record.docx -------------------------------------------------------------------------------- /GPS无线通信培训交流/GPS原理与接收机设计 谢钢 著.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/GPS原理与接收机设计 谢钢 著.pdf -------------------------------------------------------------------------------- /GPS无线通信培训交流/GPS定位基本原理--科普版.ppt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/GPS定位基本原理--科普版.ppt -------------------------------------------------------------------------------- /GPS无线通信培训交流/GPS软件接收机的实现与定位算法研究.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/GPS软件接收机的实现与定位算法研究.pdf -------------------------------------------------------------------------------- /GPS无线通信培训交流/卫星导航原理与应用.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/卫星导航原理与应用.pptx -------------------------------------------------------------------------------- /GPS无线通信培训交流/软件无线电原理与应用(杨小牛).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/GPS无线通信培训交流/软件无线电原理与应用(杨小牛).pdf -------------------------------------------------------------------------------- /LIS3DH.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/LIS3DH.pdf -------------------------------------------------------------------------------- /LIS3DH_Application_note.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/LIS3DH_Application_note.pdf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | docs 2 | ==== 3 | 4 | 一些文档 5 | -------------------------------------------------------------------------------- /S110_SoftDevice_Specification_v1.3A.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/S110_SoftDevice_Specification_v1.3A.pdf -------------------------------------------------------------------------------- /SystemC和SystemVerilog比较.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/SystemC和SystemVerilog比较.doc -------------------------------------------------------------------------------- /autoconf && automake.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/autoconf && automake.doc -------------------------------------------------------------------------------- /g++头文件默认路径添加: -------------------------------------------------------------------------------- 1 | linux g++ 库文件搜索路径 2 | 分类: linux C++ 语言相关 2012-11-09 19:53 1097人阅读 评论(0) 收藏 举报 3 | 4 | 对所有用户有效修改/etc/profile 5 | 6 | 对个人有效则修改~/.bashrc 7 | 8 | 9 | 10 | 11 | 12 | #在PATH中找到可执行文件程序的路径。 13 | export PATH =$PATH:$HOME/bin 14 | 15 | #gcc找到头文件的路径 16 | C_INCLUDE_PATH=/usr/include/libxml2:/MyLib 17 | export C_INCLUDE_PATH 18 | 19 | #g++找到头文件的路径 20 | CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/libxml2:/MyLib 21 | export CPLUS_INCLUDE_PATH 22 | 23 | #找到动态链接库的路径 24 | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/MyLib 25 | export LD_LIBRARY_PATH 26 | 27 | #找到静态库的路径 28 | LIBRARY_PATH=$LIBRARY_PATH:/MyLib 29 | export LIBRARY_PATH 30 | 31 | 32 | 33 | 下面是在gcc命令中手动设置搜索路径: 34 | 35 | #添加头文件搜索路径 36 | 37 | # gcc foo.c -I /home/xiaowp/include -o foo 38 | 39 | 40 | 41 | #添加动态库搜索路径 42 | 43 | # gcc foo.c -L /home/xiaowp/lib -lfoo -o foo 44 | 45 | 46 | 47 | #添加静态库搜索路径 48 | 49 | # gcc foo.c -L /home/xiaowp/lib -static -lfoo -o foo 50 | 51 | 52 | -------------------------------------------------------------------------------- /mx25l1606e/mx25L1606E.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/mx25l1606e/mx25L1606E.c -------------------------------------------------------------------------------- /mx25l1606e/mx25L1606E.h: -------------------------------------------------------------------------------- 1 | #ifndef MX25L1606E_H 2 | #define MX25L1606E_H 3 | #include "spi.h" 4 | 5 | #define FLASH_CS_High SPI_CS_High 6 | #define FLASH_CS_Low SPI_CS_Low 7 | 8 | #define FLASH_WP_Low() GPIO_ResetBits(GPIOC, GPIO_Pin_4) 9 | #define FLASH_WP_High() GPIO_SetBits(GPIOC, GPIO_Pin_4) 10 | 11 | #define FLASH_BUSY_TIMEOUT 200 12 | 13 | #define FLASH_PAGE_SIZE 256 14 | 15 | #define RDID_CMD 0X9F 16 | #define RDSD_CMD 0X05 17 | #define WRSR_CMD 0x01 18 | #define REMS_CMD 0X90 19 | #define DP_CMD 0XB9 20 | #define RDP_CMD 0XAB 21 | #define RES_CMD 0XAB 22 | #define PP_CMD 0X02 23 | #define WREN_CMD 0X06 24 | #define WRDI_CMD 0X04 25 | #define CE_CMD 0X60 26 | #define BE_CMD 0X52 27 | #define SE_CMD 0x20 28 | #define READ_CMD 0X03 29 | #define FREAD_CMD 0X0B 30 | #define DREAD_CMD 0X3B 31 | typedef struct 32 | { 33 | u8 ManufacturerID; 34 | u8 DeviceID[2]; 35 | }flashInfoTypedef; 36 | void SpiFlash_Init(void); 37 | void FlashGet_Info(flashInfoTypedef * pFlashInfo); 38 | void FlashWait_Busy(void); 39 | void FlashGet_ElectronicInfo(flashInfoTypedef * pFlashInfo); 40 | void FlashEnter_DeepPowerDown(void); 41 | void FlashReleaseFrom_DeepPowerDown(void); 42 | u8 FlashReleaseFrom_DeepPowerDownE(void); 43 | #endif 44 | -------------------------------------------------------------------------------- /mx25l1606e/spi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/mx25l1606e/spi.c -------------------------------------------------------------------------------- /mx25l1606e/spi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/mx25l1606e/spi.h -------------------------------------------------------------------------------- /vimrc: -------------------------------------------------------------------------------- 1 | set nocompatible 2 | set nu 3 | set showtabline=1 4 | setlocal noswapfile 5 | set tabstop=4 6 | set softtabstop=4 7 | set shiftwidth=4 8 | set cindent 9 | set autoindent 10 | set nobackup 11 | set shortmess=atI 12 | " 通过使用: commands命令,告诉我们文件的哪一行被改变过 13 | set report=0 14 | " 不让vim发出讨厌的滴滴声 15 | set showmatch 16 | " 匹配括号高亮的时间(单位是十分之一秒) 17 | set matchtime=5 18 | set backspace=indent,eol,start 19 | " 在搜索的时候忽略大小写 20 | set ignorecase smartcase 21 | " 高亮搜索关键字 22 | set hlsearch 23 | " 在搜索时,输入的词句的逐字符高亮(类似firefox的搜索) 24 | set incsearch 25 | " :set list 显示内容 26 | set listchars=tab:\|\ ,trail:.,extends:>,precedes:<,eol:$ 27 | " 光标移动到buffer的顶部和底部时保持3行距离 28 | set scrolloff=5 29 | " 不要闪烁 30 | " set novisualbell 31 | " 总是显示状态行 32 | set laststatus=2 33 | " 自动格式化 34 | " set formatoptions=tcrqn 35 | " 正确处理中文字符的折行和拼接 36 | set formatoptions+=mM 37 | " set formatoptions+=tcroqn2mBM1 38 | " 继承前一行的缩进方式,特别适用于多行注释 39 | set autoindent 40 | " 为C程序提供自动缩进 41 | set smartindent 42 | " 使用C样式的缩进 43 | set cindent 44 | " 制表符为4 45 | set tabstop=4 46 | " 统一缩进为4 47 | set softtabstop=4 48 | set shiftwidth=4 49 | " 不要用空格代替制表符 50 | set noexpandtab 51 | " 不要换行 52 | " set nowrap 53 | " 在行和段开始处使用制表符 54 | set smarttab 55 | "" 断行设置 56 | " 不要在单词中间断行 57 | set lbr 58 | 59 | set nocompatible 60 | set nocompatible 61 | set nu 62 | colorscheme google 63 | set encoding=utf-8 64 | set termencoding=utf-8 65 | set fileencoding=chinese 66 | 67 | set imcmdline 68 | "================================= 69 | "close menu bar 70 | set guioptions-=r 71 | set guioptions-=m 72 | set guioptions-=T 73 | -------------------------------------------------------------------------------- /数据格式说明1.0.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/数据格式说明1.0.xlsx -------------------------------------------------------------------------------- /陀螺仪LIS3DH驱动程序.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ansonn/docs/17fc58fc373aa2f48e6b1148dbe5fce922044b72/陀螺仪LIS3DH驱动程序.doc --------------------------------------------------------------------------------