This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
How to use CAN in poll mode?
- From: "wang cui" <iucgnaw at msn dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 05 Feb 2007 05:43:23 +0000
- Subject: [ECOS] How to use CAN in poll mode?
- Bcc:
When I use CAN in Redboot, there is no interrupt enabled. How to drive the
CAN module?
Presently, I add the CAN poll operation in do_idle() by call the CAN driver
DSR periodically.
I don't find there is a standard way to poll CAN module through IO/CAN
APIs, so I have to call driver function directly. Maybe we can add a
CYG_IO_SET_CONFIG_CAN_INPUT_DRAIN config key, to poll CAN module through
ioctl?
Thanks in advance.
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss