PIC18C CAN C例程
TheMicrochipPIC18Cfamilyofmicrocontrollerspro-
videsanintegratedControllerAreaNetwork(CAN)
solution,alongwithotherPICmicro
®
features.Although
originallyintendedfortheautomotiveindustry,CANis
findingitswayintoothercontrolapplications.Because
ofthewideapplicabilityoftheCANprotocol,there
existsaneedtodevelopasoftwarelibrarythathides
theintricatedetailsofCANregistersandallowsdevel-
operstofocusonapplicationlogic.Thisapplication
noteprovidessuchfunctions.
FordetailsaboutthePIC18Cfamilyofmicrocontrollers,
refertothePIC18CXX8DataSheet(DS30475)andthe
PICmicro
®
18CMCUFamilyReferenceManual
(DS39500).MAN738PIC18CCANRoutinesin‘C’Author:NileshRajbhartiOVERVIEWOFTHEPIC18CCANMicrochipTechnology,Inc.MODULEThePIC18CfamilyofmicrocontrollerscontainsaCANINTRODUCTIONmodulethatprovidesthesameregisterandfunctionalinterfaceforallPIC18Cmicrocontrollers.TheMicrochipPIC18Cfamilyofmicrocontrollerspro-videsanintegratedControllerAreaNetwork(CAN)Themodulefeaturesare:solution,alongwithotherPICmic