Mercurial > nand-ecoscentric
comparison packages/devs/can/arm/lpc2xxx/current/cdl/can_lpc2xxx.cdl @ 3156:b8d91bac2ba8
* Changes made to support CAN IO package update:
* cdl/can_lpc2xxx.cdl: CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS
replaced by CYG_IO_SET_CONFIG_CAN_RANGE_FILTER.
* include/can_lpc2xxx.h: Commented out unused and not implemented
things.
* src/can_lpc2xxx.c: CYGNUM_CAN_EVENT_OVERRUN_RX_HW instead of
CYGNUM_CAN_EVENT_OVERRUN_RX. CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS
replaced by CYG_IO_SET_CONFIG_CAN_RANGE_FILTER. can_lpc2xxx.h not
required any more. CYGNUM_CAN_MODE_LISTEN_ONLY_ENTER &
CYGNUM_CAN_MODE_LISTEN_ONLY_EXIT return -EINVAL.
[ Bugzilla 1001453 ]
| author | sergeig |
|---|---|
| date | Thu, 09 Feb 2012 21:37:33 +0000 |
| parents | 74dbf4c3f2e1 |
| children | 4baa86091c2c |
comparison
equal
deleted
inserted
replaced
| 3155:69195e72347f | 3156:b8d91bac2ba8 |
|---|---|
| 82 and to decrease code size. If this option is disabled the | 82 and to decrease code size. If this option is disabled the |
| 83 option CYGOPT_IO_CAN_RUNTIME_MBOX_CFG is not available and | 83 option CYGOPT_IO_CAN_RUNTIME_MBOX_CFG is not available and |
| 84 the configuration key CYG_IO_SET_CONFIG_CAN_MSGBUF is not | 84 the configuration key CYG_IO_SET_CONFIG_CAN_MSGBUF is not |
| 85 supported by this driver." | 85 supported by this driver." |
| 86 | 86 |
| 87 cdl_option CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS { | 87 cdl_option CYGOPT_DEVS_CAN_RANGE_FILTERING_CFG_KEYS { |
| 88 display "Extended acceptance filtering" | 88 display "Range filtering" |
| 89 flavor bool | 89 flavor bool |
| 90 default_value 0 | 90 default_value 0 |
| 91 description " | 91 description " |
| 92 The common CAN I/O layer supports setup of single | 92 The common CAN I/O layer supports setup of single |
| 93 message filters for reception of single CAN | 93 message filters for reception of single CAN |
| 94 messages. The global LPC2xxx acceptance filter | 94 messages. The global LPC2xxx acceptance filter |
| 95 supports not only single message filters but also | 95 supports not only single message filters but also |
| 96 message groups. A message group is defined by a | 96 message ranges. A message range is defined by a |
| 97 lower bound CAN identifier and an upper bound CAN | 97 lower bound CAN identifier and an upper bound CAN |
| 98 identifier. The acceptance filter will accept all | 98 identifier. The acceptance filter will accept all |
| 99 messages within this range of CAN identifiers. The | 99 messages within this range of CAN identifiers. The |
| 100 acceptance filter supports a number of message | 100 acceptance filter supports a number of message |
| 101 groups for each CAN channel. The support of | 101 ranges for each CAN channel." |
| 102 message filter groups is not conform to the | |
| 103 standard API of the CAN I/O layer and should only | |
| 104 be used for application where portability is not | |
| 105 important." | |
| 106 } | 102 } |
| 107 | 103 |
| 108 cdl_option CYGOPT_DEVS_CAN_LPC2XXX_LUT_ERR_SUPP { | 104 cdl_option CYGOPT_DEVS_CAN_LPC2XXX_LUT_ERR_SUPP { |
| 109 display "LUT Error Support" | 105 display "LUT Error Support" |
| 110 flavor bool | 106 flavor bool |
