Package | Description |
---|---|
peak.can | |
peak.can.basic |
Modifier and Type | Field and Description |
---|---|
protected TPCANHandle |
ChannelItem.handle |
Modifier and Type | Method and Description |
---|---|
TPCANHandle |
ChannelItem.getHandle()
Gets the PCAN Handle
|
Modifier and Type | Method and Description |
---|---|
void |
CANReadThread.callAPIFunctionRead(TPCANHandle handle)
Calls the PCANBasic Read Function according the readTimeStamp parameter
|
void |
CANSendThread.callAPIFunctionSend(TPCANHandle handle)
Calls the PCANBasic Send Function
|
void |
CANReadThread.processRcvEvent(TPCANHandle channel) |
void |
ChannelItem.setHandle(TPCANHandle handle)
Sets the PCAN Handle
|
Constructor and Description |
---|
ChannelItem(TPCANHandle handle)
Constructor
|
ChannelItem(TPCANHandle tPCANHandle,
TPCANType tPCANType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static TPCANHandle |
TPCANHandle.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TPCANHandle[] |
TPCANHandle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TPCANHandle.containsSJA(TPCANHandle handle,
TPCANType type)
Verify the provided TPCANHandle contains a SJA1000 controller
|
static void |
RcvEventDispatcher.dispatchRcvEvent(TPCANHandle channel)
This static public method will call from JNI to process the Receive-Event
by the listener
|
TPCANStatus |
PCANBasic.FilterMessages(TPCANHandle Channel,
int FromID,
int ToID,
TPCANMode Mode)
Configures the reception filter.
|
TPCANStatus |
PCANBasic.GetStatus(TPCANHandle Channel)
Gets the current status of a PCAN Channel
|
TPCANStatus |
PCANBasic.GetValue(TPCANHandle Channel,
TPCANParameter Parameter,
java.lang.Object Buffer,
int BufferLength)
Retrieves a PCAN Channel value
Parameters can be present or not according with the kind
of Hardware (PCAN Channel) being used.
|
TPCANStatus |
PCANBasic.Initialize(TPCANHandle Channel,
TPCANBaudrate Btr0Btr1,
TPCANType HwType,
int IOPort,
short Interrupt)
Initializes a PCAN Channel
|
static boolean |
TPCANHandle.isPCANPCCardHardware(TPCANHandle handle)
Verify the provided TPCANHandle is an PC-Card Device
|
static boolean |
TPCANHandle.isPCANUSBHardware(TPCANHandle handle)
Verify the provided TPCANHandle is an USB Device
|
void |
IRcvEventProcessor.processRcvEvent(TPCANHandle channel)
This method is called by the RcvEventDispatcher to process the CAN Receive-Event
by the current implementor
|
TPCANStatus |
PCANBasic.Read(TPCANHandle Channel,
TPCANMsg MessageBuffer,
TPCANTimestamp TimestampBuffer)
Transmits a CAN message
|
TPCANStatus |
PCANBasic.Reset(TPCANHandle Channel)
Resets the receive and transmit queues of the PCAN Channel
A reset of the CAN controller is not performed.
|
TPCANStatus |
PCANBasic.ResetRcvEvent(TPCANHandle Channel)
Resets the handle of the Receive-Event for the Channel.
|
TPCANStatus |
PCANBasic.SetRcvEvent(TPCANHandle Channel)
Sets the handle of the Receive-Event for the Channel.
|
TPCANStatus |
PCANBasic.SetValue(TPCANHandle Channel,
TPCANParameter Parameter,
java.lang.Object Buffer,
int BufferLength)
Configures or sets a PCAN Channel value
Parameters can be present or not according with the kind
of Hardware (PCAN Channel) being used.
|
TPCANStatus |
PCANBasic.Uninitialize(TPCANHandle Channel)
Uninitializes one or all PCAN Channels initialized by CAN_Initialize
Giving the TPCANHandle value "PCAN_NONEBUS",
uninitialize all initialized channels
|
TPCANStatus |
PCANBasic.Write(TPCANHandle Channel,
TPCANMsg MessageBuffer)
Transmits a CAN message
|