February 23rd, 2018 Week 8th Friday
It takes a strong man to save himself, and a great man to save another.
强者自救,圣者渡人。
When you are not strong enough to save others, just concentrate on self-improvements and self-promotion.
For many of us, the best thing we can do to save others is to ensure we are capable of doing our businesses perfect so that we don't need to trouble others.
But how to become a capable man? How to save ourselves from the deep grooves of life?
That needs willpower, planning, and resolve.
It is your life, you don't need someone's permission to live the life you want.
生活是你自己的,想过什么样的生活,你不需要得到别人的许可。
From Roy T. Bennett.
I have been very busy programming for a can-bus device using STM32F407VG, a MCU from the Cortex-M4 family.
The microchip has two can-bus interface, a master which can directly access the hardware, and a slave which only can indirectly access the hardware with the help of the master interface.
According to the datasheet, the two interfaces, named bxCan, which means the Basic Extended CAN peripheral, can support the CAN protocols version 2.0A and B.
It has been designed to manage a high number of incoming messages efficiently with a minimum CPU load, for the hardware in it can tackle the incoming messages first using FIFOs.
However, after I realized some basic functions, many problems arose when I tried to optimize my code in order to meet the design requirements.
Maybe I am lack of enough knowledge about the microchip, especially the knowledge needed to tackle the interrupts in it.
Do not be a coder who just knows copy and paste, please spend some time reading the datasheet and do some experiments to make the code work efficiently and faultlessly.
February 23rd, 2018 Week 8th Friday的更多相关文章
- February 24th, 2018 Week 8th Saturday
Those are my principles, and if you don't like them... well, I have others. 那是我的原则,要是你不喜欢......那我还有其 ...
- February 22nd, 2018 Week 8th Thursday
Confine yourself to the present. 着眼当下. The morning wind spreads its fresh smell, we should get up an ...
- February 21st, 2018 Week 8th Wednesday
Our life is what our thoughts make it. 我们的思想成就了我们的生活. The mind is everything. What you think, you be ...
- February 20th, 2018 Week 8th Tuesday
Receive without conceit, release without struggle. 接受时,不狂妄:放手时,不犹豫. How to understand this quote? Do ...
- February 19th, 2018 Week 8th Monday
Love is blind, hard to find, difficult to get, and impossible to forget. 爱,很盲目,很难找,很难得,很难忘. It is al ...
- February 18th, 2018 Week 8th Sunday
Don't cry for what is lost. Smile for what still remains. 别为失去的哭泣,为还留在你身边的一切微笑吧. I have been told th ...
- February 16th, 2018 Week 7th Friday
Full of luck, health and cheer. We wish you a Happy Chinese New Year! 春节快乐,万事如意! From Shanbay. Today ...
- June. 23rd 2018, Week 25th. Saturday
We are who we choose to be. 要成为怎样的人,选择在于自己. From Barry Manilow. I believe that we are who we choose ...
- codechef February Challenge 2018 简要题解
比赛链接:https://www.codechef.com/FEB18,题面和提交记录是公开的,这里就不再贴了 Chef And His Characters 模拟题 Chef And The Pat ...
随机推荐
- LeetCode-63. 不同路径 II
最近英文版的访问特别慢,转战中文吧 和上一题一样,递归会超时 //63 不同路径2,递归解法 int uniquePaths2(vector<vector<int>>& ...
- 在go modules中使用replace替换无法直接获取的package(golang.org/x/...)
上一篇里我们介绍了使用go get进行包管理. 不过因为某些未知原因,并不是所有的包都能直接用go get获取到,这时我们就需要使用go modules的replace功能了.(当然大部分问题挂个梯子 ...
- SELECT INTO和INSERT INTO SELECT的区别
数据库中的数据复制备份 SELECT INTO: 形式: SELECT value1,value2,value3 INTO Table_2 FROM Table_1 Table_2表存在,报错:数据库 ...
- [android] 短信的广播接收者
比较重要的一个广播事件,短信 界面布局,比如播放视频,默认是横屏全屏的,清单文件中进行设置, 在<activity/>节点设置屏幕朝向属性,android:screenOrientatio ...
- 软件测试工程师这样面试,拿到offer的几率是80%
面试难还是不难?取决于面试者的底蕴(气场+技能).心态和认知及沟通技巧.面试其实可以理解为一场聊天和谈判,在这过程中有心理.思想上的碰撞和博弈.其实你只需要搞清楚一个逻辑:“面试官为什么会这样问?他希 ...
- Verification and validation
Verification Verification is the process to make sure the product satisfies the conditions imposed a ...
- Codeforces617E(莫队)
E. XOR and Favorite Number time limit per test: 4 seconds memory limit per test: 256 megabytes input ...
- js 简单日历
源地址:https://jingyan.baidu.com/article/546ae185fa4f721149f28cbf.htm 文件:index.htm <!DOCTYPE html> ...
- laravel接值 get post
laravel使用一种简单的方式来访问用户提交的信息. 你可以用统一的方式来访问用户提交的信息,而不用为用户提交信息的方式操心. 引用类:use Illuminate\Support\Facades\ ...
- Linux下Python安装完成后如何使用pip命令
一.很多读者Python安装完成之后,想要下载相关的包,例如:numpy.pandas等Python中这些基础的包,但是,发现pip根本用不了,主要表现在一下几种情况: 二.出现这种情况其实并不意外, ...