LPC1113FHN33/303,5 NXP Semiconductors, LPC1113FHN33/303,5 Datasheet - Page 323

no-image

LPC1113FHN33/303,5

Manufacturer Part Number
LPC1113FHN33/303,5
Description
ARM Microcontrollers - MCU Cortex-M0 24 kB flash up to 8kB SRAM
Manufacturer
NXP Semiconductors
Datasheet

Specifications of LPC1113FHN33/303,5

Rohs
yes
Core
ARM Cortex M0
Processor Series
LPC1113
Data Bus Width
32 bit
Maximum Clock Frequency
50 MHz
Program Memory Size
24 KB
Data Ram Size
4 KB
On-chip Adc
Yes
Operating Supply Voltage
1.8 V to 3.6 V
Operating Temperature Range
- 65 C to + 150 C
Package / Case
HVQFN-33
Mounting Style
SMD/SMT
Factory Pack Quantity
260
NXP Semiconductors
UM10398
User manual
17.4.17 CANopen fall-back SDO handler callback
}
Remark: If the flag isr_handled was set TRUE when initializing CANopen, this callback
function will be called by the CAN API interrupt handler and therefore will execute on the
interrupt level.
The CANopen fall-back SDO handler callback function is called by the CANopen handler.
This function is called whenever an SDO request could not be processed or would end in
an SDO abort response. It is called with the full data buffer of the request and allows to
generate any type of SDO response. This can be used to implement custom SDO
handlers, for example to implement the SDO block transfer method.
// Return values for CANOPEN_sdo_req() callback
#define CAN_SDOREQ_NOTHANDLED 0 // process regularly, no impact
#define CAN_SDOREQ_HANDLED_SEND 1 // processed in callback, auto-send
#define CAN_SDOREQ_HANDLED_NOSEND 2 // processed in callback, don't send
}
else
{
}
}
else if (openclose == CAN_SDOSEG_SEGMENT)
{
}
else if (openclose == CAN_SDOSEG_CLOSE)
{
}
return 0;
return SDO_ABORT_NOT_EXISTS;
}
write_ofs = 0;
*fast_resp = TRUE; // Use fast 1-byte segment write response
i = length;
while (i && (write_ofs < sizeof(write_buffer)))
{
}
if (i && (write_ofs >= sizeof(write_buffer))) // Too much data to write
{
}
// Write has successfully finished: mark the buffer valid etc.
write_buffer[i] = 0;
write_buffer[write_ofs++] = *data++;
i--;
return SDO_ABORT_TRANSFER; // Data could not be written
All information provided in this document is subject to legal disclaimers.
Rev. 12 — 24 September 2012
// returned msg
// response
Chapter 17: LPC11Cxx C_CAN on-chip drivers
UM10398
© NXP B.V. 2012. All rights reserved.
323 of 538

Related parts for LPC1113FHN33/303,5