도와주세요!!
글 수 15,339
2002.07.29 17:06:45 (*.186.48.184)
6705
님의 설정이 약간 이상하네요..
아래와 같이 하세요
#define DC_DE01 ( 0x3 << 0 ) // 요부분
#define DC_DTIM0 ( 0x1 << 2 )
#define DC_DWID0 ( 0x0 << 3 )
#define DC_DRAC0 ( 0x5 << 4 )
#define DC_CDB20 ( 0x0 << 7 )
#define DC_TRP0 ( 0x2 << 8 )
#define DC_TDL0 ( 0x3 << 12 )
#define DC_TWR0 ( 0x1 << 14 )
#define DC_DE32 ( 0x0 << 16 )
#define DC_DTIM2 ( 0x1 << 18 )
#define DC_DWID2 ( 0x0 << 19 ) //
#define DC_DRAC2 ( 0x3 << 20 ) //
#define DC_CDB22 ( 0x0 << 23 ) //
#define DC_TRP2 ( 0x2 << 24 ) //
#define DC_TDL2 ( 0x3 << 28 ) //
#define DC_TWR2 ( 0x1 << 30 ) //
#define SA1110_MDCNFG_V ( DC_DE01 | DC_DTIM0 | DC_DWID0 | DC_DRAC0
| DC_CDB20 | DC_TRP0 | DC_TDL0 | DC_TWR0
| DC_DE32 | DC_DTIM2 | DC_DWID2 | DC_DRAC2
| DC_CDB22 | DC_TRP2 | DC_TDL2 | DC_TWR2 )