- 博客(6)
- 收藏
- 关注
转载 《圣经》中最让人感动的十句话(转)
1、"生命在他里头,这生命就是人的光。光照在黑暗里,黑暗却不接受光。"(《新约·约翰福音》第1章) What has come into being in him was life, and the life was the light of all people. The light shines in the darkness, and the darkness did not o vercome it. "John 1-4,5" 这是是基督教神学思想的核心。这里的"光"指的是耶稣基督,
2011-03-18 10:59:00
1935
转载 gpio linux 实现模型
http://lhsblog01.blog.163.com/blog/static/1020045192010221104237126/ //GPIO是与硬件体系密切相关的,linux提供一个模型来让驱动统一处理GPIO,即各个板卡都有实现自己的gpio_chip控制模块:request, free, input,output, get,set,irq... //然后把控制模块注册到内核中,这时会改变全局gpio数组:gpio_desc[]. //当用户请求gpio时,就会到这个数组中找到,并调用这
2010-12-23 23:22:00
594
原创 ARM的跳转指令
1. B imm24*4 = label – PC 也就是说, 1. B 只能跳转到[PC-32MB, PC+32MB]的范围 2. 在执行时,会跳转到 imm24*4 + PC 的地址去 3. BL /Rm 带返回的跳转 BX Rm 带arm/thumb 切换的跳转: Rm的末位为1 2. LDR pc, imm12 = label – Ali
2010-12-21 23:20:00
814
原创 ARM Linux 中断向量表建立流程
Linux Version : 2.6.29 1. start_kernel-->setup_arch-->early_trap_init 1: memcpy((void *)vectors, __vectors_start, __vectors_end - __vectors_start); 2: memcpy((void *)vectors + 0x200, __stubs_start, __stubs_end - __stubs_start);
2010-12-21 00:10:00
3575
1
原创 handle_level_irq 与handle_edge_irq 的区别
linux 里,handle_level_irq * Level type interrupts are active as long as the hardware line has * the active level. This may require to mask the interrupt and unmask * it after the associated handler has acknowledged the device, so the *
2010-12-20 16:46:00
4020
原创 UART
1.UART 的原理与标准 在异步传输中,UART会发送起始位, 5bit-8bit的数据位,奇偶校验位,停止位(1bit、1.5bit、2bit) 起始位: 由transeiver 向receiver发出,以通知将有数据发出,双方都要同步时钟。 双方的时钟的误差不能超过10%, 为低(idle 状态为高),与idle状态时的电平相反
2010-03-01 11:50:00
7237
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人