Decawave DW1000 Radio Transceiver.
More...
#include <DW1000Chip.hpp>
|
enum | Prf_t { PRF_16M = 1
, PRF_64M = 2
} |
|
enum | Plen_t {
PLEN_4096 = 0x0C
, PLEN_2048 = 0x28
, PLEN_1536 = 0x18
, PLEN_1024 = 0x08
,
PLEN_512 = 0x34
, PLEN_256 = 0x24
, PLEN_128 = 0x14
, PLEN_64 = 0x04
} |
|
enum | Br_t { BR_110K = 0
, BR_850K = 1
, BR_6M8 = 2
} |
|
enum | Pac_t { PAC8 = 0
, PAC16 = 1
, PAC32 = 2
, PAC64 = 3
} |
|
enum | PhrMode_t { PHRMODE_STD = 0x0
, PHRMODE_EXT = 0x3
} |
|
|
| DW1000Chip (SPI &, SPI::Mode_t mode, int8_t pinIrq, int8_t pinRstN, int8_t pinCsN, int8_t pinWakeup=-1) |
|
error_t | begin (bool loaduCode) |
|
error_t | begin () override |
|
virtual error_t | readFrame (RadioPacket *frame) override |
| 수신 버퍼에서 프레임을 읽습니다. More...
|
|
virtual bool | bufferIsEmpty () override |
|
virtual void | flushBuffer () override |
|
virtual void | sleep () override |
|
virtual void | wakeup () override |
|
virtual error_t | transmit (RadioPacket *frame) override |
|
virtual bool | cca () override |
| 채널이 혼잡한지 아닌지 검사합니다. More...
|
|
virtual int8_t | getTxPower () override |
| 현재 설정된 송신 출력을 반환합니다. More...
|
|
virtual void | setTxPower (int8_t dBm) override |
| 송신 출력을 설정합니다. More...
|
|
virtual void | setChannel (uint32_t channel) override |
| 채널을 설정합니다.
|
|
virtual uint32_t | getChannel () override |
| 현재 설정된 채널을 반환합니다.
|
|
virtual int64_t | getDeviceTimestamp () override |
| 장치 내부의 timestamp 값을 읽습니다. More...
|
|
void | reset () |
|
void | configure (Config_t &) |
|
void | setrxantennadelay (uint16_t rxDelay) |
|
void | settxantennadelay (uint16_t txDelay) |
|
void | setrxaftertxdelay (uint32_t rxDelayTime) |
|
void | setrxtimeout (uint16_t time) |
|
void | handleInterrupt (GPIOInterruptInfo_t &) |
|
void | setCcaThreshold (int16_t dBthreshold) |
|
Decawave DW1000 Radio Transceiver.
◆ Br_t
Enumerator |
---|
BR_110K | UWB bit rate 110 kbits/s.
|
BR_850K | UWB bit rate 850 kbits/s.
|
BR_6M8 | UWB bit rate 6.8 Mbits/s.
|
Br_t
Definition: DW1000Chip.hpp:113
@ BR_110K
UWB bit rate 110 kbits/s.
Definition: DW1000Chip.hpp:114
@ BR_6M8
UWB bit rate 6.8 Mbits/s.
Definition: DW1000Chip.hpp:116
@ BR_850K
UWB bit rate 850 kbits/s.
Definition: DW1000Chip.hpp:115
◆ Pac_t
Enumerator |
---|
PAC8 | PAC 8 (recommended for RX of preamble length 128 and below.
|
PAC16 | PAC 16 (recommended for RX of preamble length 256.
|
PAC32 | PAC 32 (recommended for RX of preamble length 512.
|
PAC64 | PAC 64 (recommended for RX of preamble length 1024 and up.
|
Pac_t
Definition: DW1000Chip.hpp:122
@ PAC32
PAC 32 (recommended for RX of preamble length 512.
Definition: DW1000Chip.hpp:125
@ PAC64
PAC 64 (recommended for RX of preamble length 1024 and up.
Definition: DW1000Chip.hpp:126
@ PAC8
PAC 8 (recommended for RX of preamble length 128 and below.
Definition: DW1000Chip.hpp:123
@ PAC16
PAC 16 (recommended for RX of preamble length 256.
Definition: DW1000Chip.hpp:124
◆ Plen_t
Enumerator |
---|
PLEN_2048 | Standard preamble length 4096 symbols.
|
PLEN_1536 | Non-standard preamble length 2048 symbols.
|
PLEN_1024 | Non-standard preamble length 1536 symbols.
|
PLEN_512 | Standard preamble length 1024 symbols.
|
PLEN_256 | Non-standard preamble length 512 symbols.
|
PLEN_128 | Non-standard preamble length 256 symbols.
|
PLEN_64 | Non-standard preamble length 128 symbols.
|
Plen_t
Definition: DW1000Chip.hpp:97
@ PLEN_128
Non-standard preamble length 256 symbols.
Definition: DW1000Chip.hpp:104
@ PLEN_256
Non-standard preamble length 512 symbols.
Definition: DW1000Chip.hpp:103
@ PLEN_1536
Non-standard preamble length 2048 symbols.
Definition: DW1000Chip.hpp:100
@ PLEN_512
Standard preamble length 1024 symbols.
Definition: DW1000Chip.hpp:102
@ PLEN_64
Non-standard preamble length 128 symbols.
Definition: DW1000Chip.hpp:105
@ PLEN_1024
Non-standard preamble length 1536 symbols.
Definition: DW1000Chip.hpp:101
@ PLEN_2048
Standard preamble length 4096 symbols.
Definition: DW1000Chip.hpp:99
◆ Prf_t
Enumerator |
---|
PRF_16M | UWB PRF 16 MHz.
|
PRF_64M | UWB PRF 64 MHz.
|
Prf_t
Definition: DW1000Chip.hpp:85
@ PRF_16M
UWB PRF 16 MHz.
Definition: DW1000Chip.hpp:86
@ PRF_64M
UWB PRF 64 MHz.
Definition: DW1000Chip.hpp:87
◆ cca()
virtual bool DW1000Chip::cca |
( |
| ) |
|
|
overridevirtual |
채널이 혼잡한지 아닌지 검사합니다.
채널이 혼잡하다고 감지되는 순간, onChannelBusy 가 가리키는 콜백함수가 호출됩니다.
Implements PacketRadioChip.
◆ getDeviceTimestamp()
virtual int64_t DW1000Chip::getDeviceTimestamp |
( |
| ) |
|
|
overridevirtual |
장치 내부의 timestamp 값을 읽습니다.
Timestamped Tx를 지원하거나 Rx timestamp를 지원하는 장치에 한해 내부의 현재 timestamp 값을 읽습니다. 단위는 장치의 종류에 따라 다릅니다. 지원하지 않는 장치거나 읽을 수 없을 때 -1을 반환합니다.
Reimplemented from PacketRadioChip.
◆ getTxPower()
virtual int8_t DW1000Chip::getTxPower |
( |
| ) |
|
|
overridevirtual |
◆ readFrame()
virtual error_t DW1000Chip::readFrame |
( |
RadioPacket * |
frame | ) |
|
|
overridevirtual |
수신 버퍼에서 프레임을 읽습니다.
- Returns
- ERROR_SUCCESS : 성공
- ERROR_FAIL : 실패 (수신한 프레임이 없음)
- ERROR_INVALID_ARGS :
frame
이 NULL 이거나, frame
내부 버퍼가 충분히 크지 않아서 실패
Implements PacketRadioChip.
◆ setTxPower()
virtual void DW1000Chip::setTxPower |
( |
int8_t |
dBm | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: