Maxim-integrated 73S12xxF Software Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 93
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 60
UG_12xxF_016 73S12xxF Software User Guide
Rev. 1.50 61
Parameters Enable: Input parameter
Enable (1) or disable (0) interrupt 2.
Polarity : Input parameter
Configure interrupt on rising edge (1) or falling edge (0).
Return Codes None.
INT2_Read()
Purpose Read value of External Interrupt 2.
Synopsis void INT2_Read ( Unsigned char *polarity, Unsigned char *status)
Parameters polarity: Output parameter
Specifies the polarity of the external interrupt 2 pin, rising edge = 1, falling edge = 0.
status: Output parameter
External interrupt 2 edge flag.
Return Codes None.
INT3_Config()
Purpose Configure External Interrupt 2.
Synopsis void INT3_Config ( Unsigned char Enable, Unsigned char Polarity );
Parameters Enable: Input parameter
Enable (1) or disable (0) interrupt 3.
Polarity: Input parameter
Configure interrupt on rising edge (1) or falling edge (0).
Return Codes None
INT3_Read()
Purpose Read value of External Interrupt 3.
Synopsis void INT3_Read ( Unsigned char *polarity, Unsigned char *status )
Parameters polarity: Output parameter
Specifies the polarity of the external interrupt 3 pin, rising edge = 1, falling edge = 0.
status: Output parameter
External interrupt 3 edge flag.
Return Codes None.
4.2.15 Special Function Register API Available with all 73S12xxF Devices
The API allows read/write access to all the 73S12xxF special function registers. The API includes:
SFR_Read() (page 61)
SFR_Write() (page 62)
SFR_Read()
Purpose Read from the specified Special Function Register.
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 92 93

Komentarze do niniejszej Instrukcji

Brak uwag