CW4.5 & 9S12XDT512 - Can driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW4.5 & 9S12XDT512 - Can driver

1,268件の閲覧回数
candriver
Contributor I
Dear Friends
 
I am working on Demo9s12xdt512 EVB with code warrior 4.5.i am using can driver which is already available.in can driver there s one file xgCAN.h.there s  some register setting  for hardware initialization part.it selects 4 x16 bit filtet bt it selects only dar0-1 and mr0-mr1 filter.i am little bit confused wht to do this.
 
#define CANIDAC_CAN0  IDAM0      /* 4 x 16-bit filters */ 
 #define CANIDAR0_CAN0 0
#define CANIDAR1_CAN0 0
#define CANIDMR0_CAN0 0xFFFFFFFF /* mask all bits */
#define CANIDMR1_CAN0 0xFFFFFFFF.
 
and suppose i want to choose Id 0x700 then what is the value of IDRO-3 and IDMR0-3 pls help me out...i m new for this field.
 
--
Alban Edit: CW version in subject line

Message Edited by Alban on 2007-03-26 11:23 AM

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

417件の閲覧回数
trytohelp
NXP Employee
NXP Employee
Hi,
 
Do you use Processor Expert ?
Can you please provide us the file ?
 
Pascal