Hi, I'm newbie here.
I have a question when I go through the source code.
Why was UART0 serial driver identifier set to SD1 not SD0?
Should I follow this rule when developing another modules? like the I2C.
Why was UART0 serial driver identifier set to SD1 not SD0?
Moderators: RoccoMarco, lbednarz, tfAteba
-
dinosaurkfb
- Posts: 2
- Joined: Thu Dec 26, 2013 6:41 am
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Why was UART0 serial driver identifier set to SD1 not SD
Hi,
The convention is that driver numbers start from 1 regardless how the physical peripheral is named.
Giovanni
The convention is that driver numbers start from 1 regardless how the physical peripheral is named.
Giovanni
-
dinosaurkfb
- Posts: 2
- Joined: Thu Dec 26, 2013 6:41 am