13. GPIO Control Commands
107
Sets the special function for all 11 GPIO signals with a bitmask value.
SET GPIO SPECM <bit-mask>
<bit-mask> is an 11 bit mask expressed as 3 hex digits.
The value range must be 000-7FF.
The following table shows the definition of each bit for <bit-mask>.
10
9
8
7
6
5
4
3
2
1
0
GPIO
10
GPIO
9
GPIO
8
GPIO
7
GPIO
6
GPIO
5
GPIO
4
GPIO
3
GPIO
2
GPIO
1
GPIO
0
When 1 is given for each bit of <bit-mask>, the special function of GPIO signals is enabled,
and when 0 is given, it is disabled.
For example, when 080 (hex) is entered for <bit-mask>, the special function of GPIO7 is
enabled, and the special function of other signals is disabled (they can be used for general
purpose).
13-7. SET GPIO SPECM
Shows the special function setting of GPIO signals as a bitmask value.
SH GPIO SPECM
Sample output:
Local> SH GPIO SPECM
GPIO special function mask = 03
13-8. SH GPIO SPECM
• This setting will remain even after the configuration is initialized.
TIP
Summary of Contents for MNS-300EM
Page 1: ...MNS 300EM Command Manual...
Page 2: ...Copyright 2019 silex technology Inc All rights reserved WA105840XB...
Page 13: ...1 Introduction 1 1 Introduction Thank you for purchasing the Intelligent Module MNS 300EM...
Page 18: ...6 MNS 300EM Command Manual Blank page...
Page 19: ...3 Network Commands 7 3 Network Commands This chapter describes the network parameter commands...
Page 60: ...48 MNS 300EM Command Manual...
Page 106: ...94 MNS 300EM Command Manual Blank page...
Page 110: ...98 MNS 300EM Command Manual Blank page...
Page 111: ...12 NTP Commands 99 12 NTP Commands This chapter describes the commands for NTP settings...
Page 122: ...110 MNS 300EM Command Manual Blank page...
Page 126: ...114 MNS 300EM Command Manual Blank page...
Page 131: ...17 Other Commands 119 17 Other Commands This chapter describes other commands...