Skip to main content

Posts

Showing posts from 2015

Một số lưu ý khi thết kế phần cứng

1. Xử lý các chân MCU khi không được sử dụng + Nối vào nguồn hoặc đất qua 1 con trở, tránh tình trạng thả nổi (floating). + Cấu hình chân đó là output hoặc input pull-up Lý do: When you have a not connected pin, the first thing you need is to clamp it to a rail, either Vcc or ground. You need this because a floating state may cause an intermediate state in the input buffers, leading to static power absorption. To force a level, you can either set the pin as output or input with internal pull-up . My measurements didn't show any difference in the power absorbed with the two solutions, but the manual (of a Jennic microcontroller) suggested to use the latter (input with pull-up). I'd say it's reasonable, because it uses a weaker pull-up than the output mode, and this may reduce leakage. 2. TBD

Drafting wrapper

http://diendan.congdongcviet.com/threads/t25204::con-tro-ham-trong-c-cpp-function-pointer.cpp Chức năng chính là gì? void SpeakSomeThing(void *Handle, (pCallback*) pfCallback (int req, char *ptext)) {        pfCallback(req,ptext); //hàm chức năng chính } http://en.wikipedia.org/wiki/Wrapper_function Example http://en.wikipedia.org/wiki/Wrapper_library#Cross_Language.2FRuntime_Interoperability

Điểm chuẩn THPT Chuyên Ngoại Ngữ giai đoạn 2010-2015

Điểm chuẩn THPT Chuyên Ngoại Ngữ giai đoạn 2010-2015     2010 2011 2012 2013 2014          TB Anh 38 38 32 31.5 33 36 34.1 Nga 34 34 30 30 30 32 31.2 Pháp 36.5 36.5 30 31.5 31 35 32.8 Trung 34 34 30 30 30 32 31.2 Đức 35 35 30 30 32 34 32.2 Nhật 36 36 32 30 32 34.5 32.9 H-L 4 2 1.5 3 4 2.9 Thay đổi điểm từng năm theo tỷ lệ phần trăm     2010 2011 2012 2013 2014   Anh   0.0% -15.8% -1.6% 4.8% 9.1%   Nga   0.0% -11.8% 0.0% 0.0% 6.7%   Pháp   0.0% -17.8% 5.0% -1.6% 12.9%   Trung   0.0% -11.8% 0.0% 0.0% 6.7%   Đức   0.0% -14.3% 0.0% 6.7% 6.3%   Nhật