Home › Forum › Obsoleti › SlimLine (Linux) › Documentation about the SlimLine device
- Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 11 anni, 5 mesi fa da Sergio Bertana.
-
AutorePost
-
Ottobre 31, 2012 alle 7:33 am #35288AnonimoInattivo
I’m using the SlimLine ARM9 device and it seems to work ok. Can you inform, which Linux distribution it is using, and is there any good source for documentation.
For example how to manage inputs and outputs in program code.
Ottobre 31, 2012 alle 8:39 am #37457Sergio BertanaAmministratore del forumThe Linux installed on the SlimLine ARM9 CPU module is a Linux embedded – kernel 2.6.31 karo-axel, more information can be reached from the developer’s site. The BusyBox bash and some other applications are installed. There is no linux graphical manager installed on it. About the code example, we supply a VMware virtual machine with Ubuntu Linux installed and all the tools needed to develop software for the SlimLine CPU. The ElSLLinux library contains the functions to manage all the hardware resources of the system such as serial ports, logical I/Os etc.Unfortunately there isn’t any written documentation about it, but by downloading the PTP127*000 example program from the the FAQ page you can see how it manages the SlimLine hardware.
Ottobre 31, 2012 alle 9:19 am #37458Sergio BertanaAmministratore del forumTo acquire the logic inputs on the CPU module these two functions can be used:
bool_t eGetInp00(void);
bool_t eGetInp01(void);To acquire the inputs from an extension module connected to the SlimLine bus use the function:
bool_t eSLineDInp(uint8_t Module, eSLDIOMODE Mode, bool_t Filter, void* Value);
To set the logic output on the CPU module these two functions can be used:
void eSetOut00(bool_t Sts);
void eSetOut01(bool_t Sts);To set the outputs on the extension module connected to the SlimLine bus use the function:
bool_t eSLineDOut(uint8_t Module, eSLDIOMODE Mode, void* Value);
The eSLDIOMODE is an enum defined in the ElSLLinux.h file. Refer to the PTP127*000 example to better understand how to manage the I/Os.
-
AutorePost
- Devi essere connesso per rispondere a questo topic.