Файл FSK24.bas — различия между версиями
EdGull (обсуждение | вклад) (Новая: <source lang="vb"> '------------------------------------------------- ' BASCOM AVR CC2500 register constants ' Make in SmartRF 6.9.1 '------------------------------------------------- C...) |
(нет различий)
|
Текущая версия на 07:03, 29 июня 2008
<source lang="vb">
'------------------------------------------------- ' BASCOM AVR CC2500 register constants ' Make in SmartRF 6.9.1 '------------------------------------------------- Const Cc2500_fsctrl1 = &H08 Const Cc2500_fsctrl0 = &H00 Const Cc2500_freq2 = &H5B Const Cc2500_freq1 = &HB0 Const Cc2500_freq0 = &HB2 Const Cc2500_mdmcfg4 = &H86 Const Cc2500_mdmcfg3 = &H7B Const Cc2500_mdmcfg2 = &H03 Const Cc2500_mdmcfg1 = &H22 Const Cc2500_mdmcfg0 = &HEE Const Cc2500_channr = &H00 Const Cc2500_deviatn = &H44 Const Cc2500_frend1 = &H56 Const Cc2500_frend0 = &H10 Const Cc2500_mcsm2 = &H07 Const Cc2500_mcsm1 = &H3F Const Cc2500_mcsm0 = &H18 Const Cc2500_foccfg = &H16 Const Cc2500_bscfg = &H6C Const Cc2500_agcctrl2 = &H03 Const Cc2500_agcctrl1 = &H40 Const Cc2500_agcctrl0 = &H91 Const Cc2500_fscal3 = &HA9 Const Cc2500_fscal2 = &H0A Const Cc2500_fscal1 = &H00 Const Cc2500_fscal0 = &H11 'Const Cc2500_ptest = &H7F ' для того чтобы юзать analog temperature sensor (data sheet) Const Cc2500_fstest = &H59 Const Cc2500_test2 = &H88 Const Cc2500_test1 = &H31 Const Cc2500_test0 = &H0B Const Cc2500_fifothr = &H07 Const Cc2500_iocfg2 = &H0E Const Cc2500_iocfg1 = &H06 Const Cc2500_iocfg0 = &H06 Const Cc2500_pktctrl1 = &H08 Const Cc2500_pktctrl0 = &H45 Const Cc2500_addr = &H00 Const Cc2500_pktlen = &HFF 'Const Cc2500_sync1 = &HD3 'Const Cc2500_sync0 = &H91 'Const Cc2500_rcctrl1 = &H41 'Const Cc2500_rcctrl0 = &H00
Dim Cc_patable(8) As Byte Cc_patable(1) = &HBF Cc_patable(2) = &H00 Cc_patable(3) = &H00 Cc_patable(4) = &H00 Cc_patable(5) = &H00 Cc_patable(6) = &H00 Cc_patable(7) = &H00 Cc_patable(8) = &HBF
</source>