changeset 3265:1e90246544b4

* include/config_keys.h: Add config key CYG_IO_GET_CONFIG_CAN_ERR_COUNTERS to read TX and RX error counters from CAN hardware.
author sergeig
date Wed, 28 Aug 2013 16:26:53 +0000
parents 32b1c6503e02
children edcc78939bd0
files packages/io/common/current/ChangeLog packages/io/common/current/include/config_keys.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/common/current/ChangeLog
+++ b/packages/io/common/current/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-24  Uwe Kindler  <uwe.kindler@web.de>
+
+	* include/config_keys.h: Add config key
+	CYG_IO_GET_CONFIG_CAN_ERR_COUNTERS to read TX and RX error counters
+	from CAN hardware.
+
 2012-01-22  Bernard Fouché  <bernard.fouche@kuantic.com>
 
 	* include/config_keys.h: Add two new keys to configure CAN driver:
--- a/packages/io/common/current/include/config_keys.h
+++ b/packages/io/common/current/include/config_keys.h
@@ -140,6 +140,7 @@
 #define CYG_IO_GET_CONFIG_CAN_TIMEOUT               0x0804
 #define CYG_IO_GET_CONFIG_CAN_HDI                   0x0805
 #define CYG_IO_GET_CONFIG_CAN_STATE                 0x0806
+#define CYG_IO_GET_CONFIG_CAN_ERR_COUNTERS          0x0807
 
 #define CYG_IO_SET_CONFIG_CAN_INFO                  0x0881
 #define CYG_IO_SET_CONFIG_CAN_OUTPUT_DRAIN          0x0882