Hi Mohammed,

MhzO wrote:

> I hope you all can add this information on all jal lib device files.
> This is the sample of PIC10F200 device information.
> 
> ; ==================================================================
> ; 10f200 Device Information, General Information
> ;
> 
> const        byte  DEVICE_ADC_CHANNEL   = Not_Available ; How many adc
> channel available
> const        byte  DEVICE_DIRECTLCD     = Not_Available ; Is direct
> LCD pic functions available?
> const        byte  DEVICE_CCP           = Not_Available ; How many CCP
> available?
> const        byte  DEVICE_TIMER         = 0b_0000_0001  ; Timer0
> available. Value Timer0 to Timer5.
> const        byte  DEVICE_UART          = Not_Available ; Returns the
> number UARTs
> 
> const        bit   DEVICE_SPI           = False ; is spi available for
> use?
> const        bit   DEVICE_USB           = False ; is usb available for
> use?
> const        bit   DEVICE_CAN           = False ; CAN Bus
> const        bit   DEVICE_PSP           = False ; Par Slave Port
> const        bit   DEVICE_COMP          = False ; Comparator
> const        bit   DEVICE_VREF          = False ; Voltage Reference
> const        bit   DEVICE_I2C_SLAVE     = False ; is the device has
> slave I2C?
> const        bit   DEVICE_I2C_MASTER    = False ; is the  device has
> master I2C?

That maybe not a bad idea for the long term. However the implementation 
might be a problem. As you probably know the device files are generated 
by scanning MPLAB files, supplemented and corrected with some 
hand-crafted material. I'm afraid the type of info above is not in MPLAB 
and can only be obtained reading the datasheets (and typing into over in 
a table or so).   If you would be so kind to build and maintain such a 
table for about 300 PICs, then we could incorporate this info in the 
device files (provided everybody agrees it is useful enough).

Regards, Rob.


-- 
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to