Modifier and Type | Method and Description |
---|---|
TPCANHandle |
TPCANChannelInformation.getChannelHandle() |
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
|
TPCANStatus |
PCANBasic.InitializeFD(TPCANHandle Channel,
TPCANBitrateFD BitrateFD)
Initializes a FD capable PCAN Channel
See PCAN_BR_* values Bitrate string must follow the following
construction rules: - parameters and values must be separated by '=' -
Couples of Parameter/value must be separated by ',' - Following Parameter
must be filled out: f_clock, data_brp, data_sjw, data_tseg1, data_tseg2,
nom_brp, nom_sjw, nom_tseg1, nom_tseg2. - Following Parameters are
optional (not used yet): data_ssp_offset, nom_samp
Example: f_clock_mhz=80, nom_brp=1, nom_tset1=63, nom_tseg2=16,
nom_sjw=7, data_brp=4, data_tset1=12, data_tseg2=7, data_sjw=1
|
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.ReadFD(TPCANHandle Channel,
TPCANMsgFD MessageBuffer,
TPCANTimestampFD TimestampBuffer)
Reads a CAN message from the receive queue of a FD capable PCAN Channel
|
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.
|
void |
TPCANChannelInformation.setChannelHandle(TPCANHandle handle) |
TPCANStatus |
PCANBasic.SetRcvEvent(TPCANHandle Channel)
Sets the handle of the Receive-Event for the Channel. static method
peak.can.basic.RcvEventDispatcher.dispatchRcvEvent is used to notify each
Receive-Event
|
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
|
TPCANStatus |
PCANBasic.WriteFD(TPCANHandle Channel,
TPCANMsgFD MessageBuffer)
Transmits a CAN message over a FD capable PCAN Channel
|