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

Reply via email to