NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

CAN_PinCFG_Type Struct Reference

CAN_PinCFG_Type Struct Reference
[CAN_Public_Types]

Pin Configuration structure. More...

#include <lpc17xx_can.h>

Data Fields

uint8_t RD
 Serial Inputs, from CAN transceivers, should be: For CAN1:

  • CAN_RD1_P0_0: RD pin is on P0.0
  • CAN_RD1_P0_21 : RD pin is on P0.21 For CAN2:
  • CAN_RD2_P0_4: RD pin is on P0.4
  • CAN_RD2_P2_7: RD pin is on P2.7.

uint8_t TD
 Serial Outputs, To CAN transceivers, should be: For CAN1:

  • CAN_TD1_P0_1: TD pin is on P0.1
  • CAN_TD1_P0_22: TD pin is on P0.22 For CAN2:
  • CAN_TD2_P0_5: TD pin is on P0.5
  • CAN_TD2_P2_8: TD pin is on P2.8.


Detailed Description

Pin Configuration structure.

Definition at line 566 of file lpc17xx_can.h.


Field Documentation

uint8_t RD

Serial Inputs, from CAN transceivers, should be: For CAN1:

  • CAN_RD1_P0_0: RD pin is on P0.0
  • CAN_RD1_P0_21 : RD pin is on P0.21 For CAN2:
  • CAN_RD2_P0_4: RD pin is on P0.4
  • CAN_RD2_P2_7: RD pin is on P2.7.

Definition at line 567 of file lpc17xx_can.h.

uint8_t TD

Serial Outputs, To CAN transceivers, should be: For CAN1:

  • CAN_TD1_P0_1: TD pin is on P0.1
  • CAN_TD1_P0_22: TD pin is on P0.22 For CAN2:
  • CAN_TD2_P0_5: TD pin is on P0.5
  • CAN_TD2_P2_8: TD pin is on P2.8.

Definition at line 575 of file lpc17xx_can.h.