Maxim-integrated 73M1822/73M1922 Hardware Module for SMDK412 Uživatelský manuál Strana 21

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 32
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 20
UG_1x22_054 73M1822/73M1922 Hardware Module for SMDK412 User Guide
Rev. 1.1 21
4.6 ioctl
Description
The driver, while accessed from the kernel space, does not require the calling of a specific IOCTL
command. The following sections detail the equivalent exported direct function calls that are available in
the Kernel space.
4.6.1 tsc_1x22_rs232_get
Description
Retrieves the current status of the RS232 RTS, DTS, CTR and DTR pins.
IOCTL Equivalent
TSC_1X22_MAFE_GET_RS232
Prototype
unsigned char tsc_1x22_rs232_get(void);
Parameters
Data Type Name Description
Void
NA
NA
Return Values
Data Type Description
unsigned char
See RS232 #defines.
4.6.2 tsc_1x22_rs232_set
Description
Sets the current status of the RS232 RTS,DTS,CTR and DTR pins and then returns the resulting status
via call to tsc_1x22_rs232_get.
IOCTL Equivalent
TSC_1X22_MAFE_SET_RS232
Prototype
unsigned char tsc_1x22_rs232_set(unsigned char RS232);
Parameters
Data Type Name Description
unsigned char
RS232
Bits to set. See RS232 #defines.
Return Values
Data Type Description
unsigned char
See
.
Zobrazit stránku 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 31 32

Komentáře k této Příručce

Žádné komentáře