一灭红、特性
? ? 1.1侣滩、chanael ~通道、信道
? ??????external ~外部变擒;no can device ~沒(méi)有CAN設(shè)備
·? 1.2君珠、controller osc ~控制器震蕩頻率
? ? 1.3、bus rate 總線(xiàn)速率
? ? 1.4娇斑、sync jump width??同步跳躍寬度
? ? 1.5策添、sample point??采樣點(diǎn)
? ? 1.6、id type? ID類(lèi)型
? ? 1.7悠菜、standard only 僅標(biāo)準(zhǔn);standard & extended 標(biāo)準(zhǔn)和擴(kuò)展
2败富、connections 連接
2.1悔醋、spi
? ? 2.1.1、channel 通道兽叮、信道~software 軟件芬骄;channel 通道、信道
? ? 2.1.2鹦聪、MOSI ~主出 從入
spi data out pin SDO ~ AlSO known as master out slave in (MOSI) when used in master mode ~spi數(shù)據(jù)輸出引腳SDO?在主機(jī)模式下使用時(shí)也稱(chēng)為主機(jī)輸出從機(jī)輸入(MOSI)
(SDO一般指服務(wù)數(shù)據(jù)對(duì)象账阻。Service Data Objects (SDO)是一種針對(duì)在不同的數(shù)據(jù)源之間使用統(tǒng)一的數(shù)據(jù)編程模型的規(guī)范說(shuō)明)
? ? 2.1.3、MISO ~主入 從出
spi data in pin SDI ~also konwn as master in slave out(miso) when used in master mode ~SDI引腳上的spi數(shù)據(jù)?主機(jī)模式下使用時(shí)也稱(chēng)為主機(jī)輸入泽本、從機(jī)輸出(miso)
? ? 2.1.4淘太、CLK ~時(shí)鐘
SPI clock pin CLK ~ the clock signal in driver by the spi master ~SPI時(shí)鐘引腳CLK?SPI主驅(qū)動(dòng)器中的時(shí)鐘信號(hào)
? ? 2.1.5、SS
chip select / slave select pin ~片選/從選擇引腳
master mode:generat purpose output pin used to select the remote spi device ~主模式:通用輸出引腳规丽,用于選擇遠(yuǎn)程SPI設(shè)備
slave mode:hardware chip select pin input used to select the spi sevice ~從機(jī)模式:硬件芯片選擇引腳輸入蒲牧,用于選擇spi服務(wù)
? ? 2.1.6、prescale 預(yù)分頻
fosc ~系統(tǒng)頻率;晶體振蕩器頻率
2.1.7赌莺、sample point??采樣點(diǎn)
Data bit read sample point ~數(shù)據(jù)位讀取采樣點(diǎn)
3冰抢、TX Buffer 0??發(fā)送緩沖區(qū)0
3.1、Message ID?訊息編號(hào)
TX Buffer 0 Message Identifier ~TX緩沖區(qū)0消息標(biāo)識(shí)符
4艘狭、RX Buffer 0 發(fā)送
RX Buffer 0 Message Receive Mode ~Rx緩沖區(qū)0消息接收模式
Settings ~設(shè)定值
????Reject All ~全部拒絕
????Use Mask and Filter ~使用遮罩和濾鏡
????Accept All ~接受所有的
5挎扰、Rx Buffer 1
6翠订、aimulation?模擬
二、宏
1遵倦、CheckRx??檢查接收
Checks to see if any messages are available for 'Buffer' specified ~檢查是否有任何消息可用于指定的“緩沖區(qū)”
Send buffer: 0 to 1
?~參數(shù):發(fā)送緩沖區(qū):0到1
2尽超、GetRxData?獲取接收數(shù)據(jù)
Returns last received message data byte at position Index. ~返回位置Index處最后收到的消息數(shù)據(jù)字節(jié)。
Buffer parameter is currently ignored ~當(dāng)前忽略緩沖區(qū)參數(shù)
3骇吭、GetRxDataCount?獲取接收數(shù)據(jù)計(jì)數(shù)
Returns last received message data length. ~返回最后收到的消息數(shù)據(jù)長(zhǎng)度橙弱。
Buffer parameter is currently ignored ~當(dāng)前忽略緩沖區(qū)參數(shù)
4、GetRxIDHi??獲取接收ID的高字節(jié)
Gets the Hi byte Rx ID in register format. ~以寄存器格式獲取的高字節(jié)的RX ID
Standard ID only 0-2047. ~標(biāo)準(zhǔn)ID僅0-2047燥狰。
Compatible with v5 component and previous, ~與v5組件及以前的版本兼容棘脐,
5、GetRxIDLo 獲取接收ID的低字節(jié)
Gets the Lo byte Rx ID in register format. ~以寄存器格式獲取Lo字節(jié)的Rx ID龙致。
Standard ID only 0-2047. ~標(biāo)準(zhǔn)ID僅0-2047蛀缝。
Compatible with v5 component and previous, ~與v5組件及以前的版本兼容,