SDK  23.9.2
For IoT System Software Development
Classes | Public Types | Public Member Functions | List of all members
DW1000Chip Class Referenceabstract

Decawave DW1000 Radio Transceiver. More...

#include <DW1000Chip.hpp>

Inheritance diagram for DW1000Chip:
PacketRadioChip

Classes

struct  Config_t
 

Public Types

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 }
 

Public Member Functions

virtual error_t begin (bool loaduCode=true)=0
 
virtual void configure (Config_t &)=0
 
virtual void setrxantennadelay (uint16_t rxDelay)=0
 
virtual void settxantennadelay (uint16_t txDelay)=0
 
virtual void setrxaftertxdelay (uint32_t rxDelayTime)=0
 
virtual void setrxtimeout (uint16_t time)=0
 
- Public Member Functions inherited from PacketRadioChip
virtual error_t begin ()=0
 
virtual error_t readFrame (RadioPacket *frame)=0
 수신 버퍼에서 프레임을 읽습니다. More...
 
virtual bool bufferIsEmpty ()=0
 
virtual void flushBuffer ()=0
 
virtual void sleep ()=0
 
virtual void wakeup ()=0
 
virtual error_t transmit (RadioPacket *frame)=0
 
virtual bool cca ()=0
 채널이 혼잡한지 아닌지 검사합니다. More...
 
void setCcaThreshold (int16_t dBthreshold)
 
virtual void setTxPower (int8_t dBm)=0
 송신 출력을 설정합니다. More...
 
virtual int8_t getTxPower ()=0
 현재 설정된 송신 출력을 반환합니다. More...
 
virtual void setChannel (uint32_t channel)=0
 채널을 설정합니다.
 
virtual uint32_t getChannel ()=0
 현재 설정된 채널을 반환합니다.
 

Additional Inherited Members

- Public Attributes inherited from PacketRadioChip
void(* onRxStarted )(void *, GPIOInterruptInfo_t *)
 수신이 시작될 때 호출될 콜백함수 포인터 More...
 
void * ctxOnRxStarted
 onRxStarted 가 호출될 때 함께 전달될 context
 
void(* onRxDone )(void *, GPIOInterruptInfo_t *)
 수신이 완료될 때 호출될 콜백함수 포인터 More...
 
void * ctxOnRxDone
 onRxDone 이 호출될 때 함께 전달될 context
 
void(* onTxDone )(void *, bool, GPIOInterruptInfo_t *)
 transmit() 후, 송신이 완료될 때 호출될 콜백함수 포인터 More...
 
void * ctxOnTxDone
 onTxDone 이 호출될 때 함께 전달될 context
 
void(* onChannelBusy )(void *, GPIOInterruptInfo_t *)
 cca() 시 채널이 혼잡할 때 호출될 콜백함수 포인터 More...
 
void * ctxOnChannelBusy
 onChannelBusy 가 호출될 때 함께 전달될 context
 
int16_t dBccaThreshold = -65
 cca() 시 채널이 혼잡하다고 판단하기 위한 에너지 레벨을 설정합니다. (단위: dB, 기본값: -65)
 

Detailed Description

Decawave DW1000 Radio Transceiver.

Member Enumeration Documentation

◆ 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.

97  {
98  BR_110K = 0,
99  BR_850K = 1,
100  BR_6M8 = 2,
101  } Br_t;

◆ 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.

106  {
107  PAC8 = 0,
108  PAC16 = 1,
109  PAC32 = 2,
110  PAC64 = 3,
111  } Pac_t;

◆ 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.

81  {
82  PLEN_4096 = 0x0C,
83  PLEN_2048 = 0x28,
84  PLEN_1536 = 0x18,
85  PLEN_1024 = 0x08,
86  PLEN_512 = 0x34,
87  PLEN_256 = 0x24,
88  PLEN_128 = 0x14,
89  PLEN_64 = 0x04,
90  } Plen_t;

◆ Prf_t

Enumerator
PRF_16M 

UWB PRF 16 MHz.

PRF_64M 

UWB PRF 64 MHz.

69  {
70  PRF_16M = 1,
71  PRF_64M = 2,
72  } Prf_t;

The documentation for this class was generated from the following file:
DW1000Chip::Prf_t
Prf_t
Definition: DW1000Chip.hpp:69
DW1000Chip::PLEN_1024
@ PLEN_1024
Non-standard preamble length 1536 symbols.
Definition: DW1000Chip.hpp:85
DW1000Chip::PLEN_512
@ PLEN_512
Standard preamble length 1024 symbols.
Definition: DW1000Chip.hpp:86
DW1000Chip::PRF_64M
@ PRF_64M
UWB PRF 64 MHz.
Definition: DW1000Chip.hpp:71
DW1000Chip::PLEN_128
@ PLEN_128
Non-standard preamble length 256 symbols.
Definition: DW1000Chip.hpp:88
DW1000Chip::BR_6M8
@ BR_6M8
UWB bit rate 6.8 Mbits/s.
Definition: DW1000Chip.hpp:100
DW1000Chip::BR_110K
@ BR_110K
UWB bit rate 110 kbits/s.
Definition: DW1000Chip.hpp:98
DW1000Chip::PLEN_64
@ PLEN_64
Non-standard preamble length 128 symbols.
Definition: DW1000Chip.hpp:89
DW1000Chip::PAC64
@ PAC64
PAC 64 (recommended for RX of preamble length 1024 and up.
Definition: DW1000Chip.hpp:110
DW1000Chip::Br_t
Br_t
Definition: DW1000Chip.hpp:97
DW1000Chip::PAC8
@ PAC8
PAC 8 (recommended for RX of preamble length 128 and below.
Definition: DW1000Chip.hpp:107
DW1000Chip::PLEN_1536
@ PLEN_1536
Non-standard preamble length 2048 symbols.
Definition: DW1000Chip.hpp:84
DW1000Chip::Pac_t
Pac_t
Definition: DW1000Chip.hpp:106
DW1000Chip::PAC32
@ PAC32
PAC 32 (recommended for RX of preamble length 512.
Definition: DW1000Chip.hpp:109
DW1000Chip::BR_850K
@ BR_850K
UWB bit rate 850 kbits/s.
Definition: DW1000Chip.hpp:99
DW1000Chip::PRF_16M
@ PRF_16M
UWB PRF 16 MHz.
Definition: DW1000Chip.hpp:70
DW1000Chip::PLEN_2048
@ PLEN_2048
Standard preamble length 4096 symbols.
Definition: DW1000Chip.hpp:83
DW1000Chip::Plen_t
Plen_t
Definition: DW1000Chip.hpp:81
DW1000Chip::PAC16
@ PAC16
PAC 16 (recommended for RX of preamble length 256.
Definition: DW1000Chip.hpp:108
DW1000Chip::PLEN_256
@ PLEN_256
Non-standard preamble length 512 symbols.
Definition: DW1000Chip.hpp:87