WO2022191468A1 - Electronic device and method for using card-type barometric pressure sensor in electronic device - Google Patents

Electronic device and method for using card-type barometric pressure sensor in electronic device Download PDF

Info

Publication number
WO2022191468A1
WO2022191468A1 PCT/KR2022/002522 KR2022002522W WO2022191468A1 WO 2022191468 A1 WO2022191468 A1 WO 2022191468A1 KR 2022002522 W KR2022002522 W KR 2022002522W WO 2022191468 A1 WO2022191468 A1 WO 2022191468A1
Authority
WO
WIPO (PCT)
Prior art keywords
card type
pin
electronic device
module
pins
Prior art date
Application number
PCT/KR2022/002522
Other languages
French (fr)
Korean (ko)
Inventor
김병준
박건희
전인태
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022191468A1 publication Critical patent/WO2022191468A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/21Combinations with auxiliary equipment, e.g. with clocks or memoranda pads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3816Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
    • H04B1/3818Arrangements for facilitating insertion or removal of identification devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0274Details of the structure or mounting of specific components for an electrical connector module
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/38Displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

An electronic device according to various embodiments may comprise: a housing comprising an opening; a connector disposed in the housing and comprising multiple first pins; a tray detachably mounted to the connector through the opening and comprising a first receiving groove for receiving a first card-type module; and a processor connected to the connector, wherein the processor is configured to: determine whether the first card-type module is connected to the connector on the basis of a signal from at least one of the multiple first pins; determine, on the basis of the determination of connection of the first card-type module, whether the first card-type module is a first card-type subscriber identification module (SIM) or a first card-type barometric pressure sensor; process a first signal, which is input through the multiple first pins, by a first IO method on the basis of determination of the first card-type SIM; and process a second signal, which is input through the multiple first pins, by a second IO method on the basis of determination of the first card-type barometric pressure sensor. Various other embodiments may also be possible.

Description

전자 장치 및 전자 장치에서 카드 타입 기압 센서 이용 방법How to use card-type barometric pressure sensors in electronic devices and electronic devices
다양한 실시예들은 전자 장치 및 전자 장치에서 카드 타입 기압 센서 이용 방법에 관한 것이다.Various embodiments relate to an electronic device and a method of using a card-type barometric pressure sensor in the electronic device.
최근 전자 장치들은 기능이 다양화 되어가는 반면에 휴대성이 유리한 장치가 좀더 높은 경쟁력을 가질 수 있다. 예를 들어, 동일한 기능을 갖는 전자 장치이더라도 좀더 슬림하고 경박 단소화되어 있는 전자 장치가 선호될 수 있다. 따라서, 전자 장치 제조자들은 동일하거나 좀더 우수한 기능을 가지면서 타 제품에 비해 더욱 슬림하고 경박 단소화된 장치를 개발하기 위하여 노력하고 있다. In recent years, electronic devices have diversified functions, whereas devices with advantageous portability may have higher competitiveness. For example, even if it is an electronic device having the same function, an electronic device that is slimmer, lighter, thinner, and smaller may be preferred. Accordingly, electronic device manufacturers are making efforts to develop devices that are slimmer, lighter, and smaller than other products while having the same or superior functions.
이러한 추세에 따라 전자 장치는 다양한 기능 수행을 위한 부품들을 내부에 실장하기 보다는 외부 부품 형태로 제작하고, 필요 시에만 외부 부품을 장착하여 이용하도록 하고 있다. 또한 전자 장치의 소형화에 맞추어 외부 부품들도 소형화되고 있으며, 전자 장치에 장착되는 다양한 외부 부품들과 인터페이싱하기 위한 전자 장치 내의 다양한 인터페이스 장치(예: 커넥터 등)도 소형화되고 있다.According to this trend, electronic devices are manufactured in the form of external parts rather than mounted inside, and external parts are mounted and used only when necessary. In addition, external components are being miniaturized along with the miniaturization of electronic devices, and various interface devices (eg, connectors, etc.) in the electronic device for interfacing with various external components mounted in the electronic device are also being miniaturized.
예를 들면, 외부 부품은 전자 장치의 저장 공간을 확장시켜줄 수 있는 메모리 카드, 전자 장치 사용자 인증을 위해 착탈 가능하게 설치되는 가입자 식별 모듈(SIM; subscriber identification module) 카드 등의 소형 카드 타입(또는 메모리 카드 타입)의 외부 부품일 수 있다. For example, the external component is a small card type (or memory) such as a memory card that can expand the storage space of the electronic device, or a subscriber identification module (SIM) card that is detachably installed for user authentication of the electronic device. card type).
전자 장치에서 각종 센싱을 위해 각종 센서 모듈이 실장되어 이용되고 있으나, 실장된 센싱 모들 중에는 이용 횟수가 적어 실장하여 이용하기 보다는 필요한 경우에만 장착하여 이용하는 것이 효율적일 수 있다. 예를 들면, 전자 장치에서 방수 확인 기능을 위해 기압 센서가 실장되어 이용될 수 있으나, 방수 확인 기능은 일부 사용자에게 불필요하거나 적은 횟수로 이용되는 기능일 수 있어서, 필요한 경우에만 방수 기능 확인을 위한 기압 센서를 장착하여 이용하는 것이 효율적일 수 있다. Various sensor modules are mounted and used for various sensing in an electronic device, but among the mounted sensing modules, the number of uses is small, so it may be efficient to mount and use only when necessary rather than to mount and use. For example, an air pressure sensor may be mounted and used for a waterproof function in an electronic device, but the waterproof function may be unnecessary or used a small number of times for some users. It may be efficient to use the sensor mounted.
전자 장치에서 각종 센싱을 수행하는 센서 모듈이 카드 타입(또는 메모리 카드 타입) 부품으로 개발되어 장착 및 탈착 가능하도록 이용될 수 있다면 전자 장치는 센서 모듈을 내장하기 보다는 카드 타입의 센서 모듈을 필요에 따라 장착하여 이용할 수 있어서 전자 장치의 부품 실장 면적 확보에 도움이 될 수 있고, 센서 모듈 실장 비용을 절약할 수 있어서 효율적일 수 있다. 예를 들면, 전자 장치에 내장 기압 센서 대신 전자 장치에 장착 및 탈착 가능한 카드 타입 기압 센서를 이용할 수 있다면 전자 장치의 부품 실장 면적 확보에 도움이 될 수 있고, 기압 센서 모듈 실장 비용을 절약할 수 있어서 효율적일 수 있다. If a sensor module that performs various sensing in an electronic device is developed as a card type (or memory card type) component and can be used so that it can be mounted and detached, the electronic device can install a card type sensor module as needed rather than embedding the sensor module. Since it can be mounted and used, it can be helpful in securing a mounting area for components of an electronic device, and it can be effective because it is possible to save a sensor module mounting cost. For example, if a card-type barometric pressure sensor that can be attached to and detached from the electronic device can be used instead of the built-in barometric pressure sensor in the electronic device, it can help to secure the mounting area of the electronic device’s components and reduce the cost of mounting the barometric sensor module. can be efficient.
다양한 실시예에 따르면 내장 센서 모듈 대신 장착 및 탈착 가능한 카드 타입 센서 모듈을 이용할 수 있는 전자 장치 및 전자 장치에서 카드 타입 센서 모듈 이용 방법을 제공할 수 있다.According to various embodiments, an electronic device capable of using a card-type sensor module that can be mounted and detached instead of a built-in sensor module and a method for using a card-type sensor module in an electronic device may be provided.
다양한 실시예에 따르면 내장 센서 대신 장착 및 탈착 가능한 카드 타입 센서를 이용할 경우 하나의 커넥터를 이용하여 카드 타입 메모리(예: 메모리 카드) 또는 카드 타입 센서를 장착할 수 있도록 하고, 카드 타입 메모리 장착 시 카드 타입 메모리에 대응된 기능을 수행하고 카드 타입 센서 장착 시 카드 타입 센서에 대응된 기능을 수행하도록 할 수 있는 전자 장치 및 전자 장치에서 카드타입 센서 이용 방법을 제공할 수 있다.According to various embodiments, when a card-type sensor that can be installed and detached is used instead of a built-in sensor, a card-type memory (eg, a memory card) or a card-type sensor can be mounted using one connector, and when the card-type memory is installed, the card It is possible to provide an electronic device capable of performing a function corresponding to a type memory and performing a function corresponding to the card type sensor when the card type sensor is mounted, and a method of using a card type sensor in the electronic device.
다양한 실시예에 따르면 카드 타입 기압 센서 장착 시 카드 타입 기압 센서를 이용하여 방수 여부 확인이 가능하도록 하는 전자 장치 및 전자 장치에서 카드타입 기압 센서 이용 방법을 제공할 수 있다.According to various embodiments, it is possible to provide an electronic device and a method of using a card-type barometric pressure sensor in an electronic device that enable confirmation of water resistance using the card-type barometric pressure sensor when the card-type barometric pressure sensor is installed.
다양한 실시예에 따르면, 전자 장치는 오프닝을 포함하는 하우징, 상기 하우징의 내부에 배치되고 제1 복수의 핀들을 포함하는 커넥터, 상기 오프닝을 통해 상기 커넥터에 착탈 가능하게 장착되고, 제1 카드 타입 모듈을 수용하기 위한 제1 수용홈을 포함하는 트레이, 및 상기 커넥터와 연결된 프로세서를 포함하고, 상기 프로세서는 상기 제1 복수의 핀들 중 적어도 하나의 핀의 신호에 기반하여 상기 커넥터에 제1 카드 타입 모듈의 접속 여부를 확인하고, 제1 카드 타입 모듈 접속이 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM(subscriber identification module) 인지 제1 카드 타입 기압 센서인지 확인하고, 상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하고, 및 상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하도록 설정될 수 있다.According to various embodiments, the electronic device includes a housing including an opening, a connector disposed inside the housing and including a first plurality of pins, and detachably mounted to the connector through the opening, and a first card type module a tray including a first accommodating groove for accommodating a tray, and a processor connected to the connector, wherein the processor is configured to attach a first card type module to the connector based on a signal of at least one of the first plurality of pins. check whether the connection of the first card type module is based on the confirmation whether the first card type module is a first card type subscriber identification module (SIM) or a first card type barometric pressure sensor; Process a first signal input through the first plurality of pins in a first IO manner based on type SIM confirmation, and a second IO manner based on confirmation of the first card type barometric pressure sensor It may be set to process a second signal input through pins.
다양한 실시예에 따르면, 전자 장치에서 메모리 카드 타입 기압 센서 이용 방법은 상기 전자 장치의 하우징의 내부에 배치된 커넥터의 제1 복수의 핀들에 제1 메모리 카드 타입 모듈의 접속 여부를 확인하는 동작, 상기 제1 메모리 카드 타입 모듈의 접속 확인에 기반하여 상기 제1 메모리 카드 타입 모듈이 제1 메모리 카드인지 제1 메모리 카드 타입 기압 센서인지 확인하는 동작, 상기 제1 메모리 카드 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하는 동작, 및 상기 제1 메모리 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하는 동작을 포함할 수 있다. According to various embodiments of the present disclosure, a method of using a memory card type air pressure sensor in an electronic device includes: checking whether a first memory card type module is connected to a plurality of first pins of a connector disposed inside a housing of the electronic device; Confirming whether the first memory card type module is the first memory card or the first memory card type air pressure sensor based on the connection confirmation of the first memory card type module, the first IO method based on the first memory card confirmation processing a first signal inputted through the first plurality of pins, and a second signal inputted through the first plurality of pins in a second IO method based on confirmation of the first memory card type barometric pressure sensor It may include an operation to process .
다양한 실시예에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 커넥터의 제1 복수의 핀들에 제1 메모리 카드 타입 모듈의 접속 여부를 확인하는 동작, 상기 제1 메모리 카드 타입 모듈의 접속 확인에 기반하여 상기 제1 메모리 카드 타입 모듈이 제1 메모리 카드인지 제1 메모리 카드 타입 기압 센서인지 확인하는 동작, 상기 제1 메모리 카드 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하는 동작, 및 상기 제1 메모리 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하는 동작을 포함할 수 있다.According to various embodiments, in a non-volatile storage medium storing instructions, the instructions are configured to cause the at least one processor to perform at least one operation when the instructions are executed by the at least one processor. The operation may include checking whether the first memory card type module is connected to the first plurality of pins of the connector, and based on the connection check of the first memory card type module, the first memory card type module is connected to the first memory card. An operation of determining whether the sensor is a first memory card type air pressure sensor, an operation of processing a first signal input through the first plurality of pins in a first IO method based on the identification of the first memory card, and the first memory It may include an operation of processing a second signal input through the first plurality of pins in a second IO method based on the card-type barometric pressure sensor confirmation.
다양한 실시예에 따르면, 전자 장치에서 각종 센싱을 수행하는 센서 모듈을 실장하지 않고, 카드 타입의 센서 모듈을 필요에 따라 장착하여 이용하도록 함으로써, 전자 장치의 부품 실장 면적 확보에 도움이 될 수 있고, 센서 모듈 실장 비용을 절약할 수 있어서 효율적일 수 있다. According to various embodiments, without mounting a sensor module for performing various sensing in an electronic device, by mounting and using a card-type sensor module as needed, it can be helpful in securing a mounting area for components of an electronic device, It can be efficient because it can save the sensor module mounting cost.
다양한 실시예에 따르면, 전자 장치에 내장 기압 센서 대신 전자 장치에 장착 및 탈착 가능한 카드 타입 기압 센서를 이용함으로써, 전자 장치의 부품 실장 면적 확보에 도움이 될 수 있고, 기압 센서 모듈 실장 비용을 절약할 수 있다.According to various embodiments, by using a card-type barometric pressure sensor that can be mounted and detached in an electronic device instead of a built-in barometric pressure sensor in the electronic device, it is possible to help secure a mounting area for components of the electronic device and to reduce the cost of mounting the barometric sensor module. can
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtainable in the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned may be clearly understood by those of ordinary skill in the art to which the present disclosure belongs from the description below. will be.
도 1은 일 실시예에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.1 is a block diagram of an electronic device in a network environment according to an exemplary embodiment.
도 2는 일 실시예에 따른 전자 장치의 사시도이다.2 is a perspective view of an electronic device according to an exemplary embodiment.
도 3은 일 실시예에 따른 전자 장치의 트레이 구조와 트레이 구조가 외부로 배출되는 모습을 나타내는 사시도이다.3 is a perspective view illustrating a tray structure of an electronic device and a state in which the tray structure is discharged to the outside according to an exemplary embodiment;
도 4는 일 실시예에 따른 전자 장치의 트레이 구조를 나타낸 사시도이다.4 is a perspective view illustrating a tray structure of an electronic device according to an exemplary embodiment.
도 5a는 일 실시예에 따른 제1 카드 타입 모듈을 나타낸 도면이다. 5A is a diagram illustrating a first card type module according to an embodiment.
도 5b는 일 실시예에 따른 제2 카드 타입 모듈을 나타낸 도면이다.5B is a diagram illustrating a second card type module according to an embodiment.
도 6a는 일 실시예에 따른 제1 카드 타입 SIM의 구성을 나타낸 도면이다.6A is a diagram illustrating a configuration of a first card type SIM according to an exemplary embodiment.
도 6b는 일 실시예에 따른 제1 카드 타입 센서의 구성을 나타낸 도면이다.6B is a diagram illustrating a configuration of a first card type sensor according to an embodiment.
도 7은 일 실시예에 따른 전자 장치의 블록 구성도이다.7 is a block diagram of an electronic device according to an exemplary embodiment.
도 8은 일 실시예에 따른 전자 장치에서 프로세서의 구성을 설명하기 위한 도면이다. 8 is a diagram for describing a configuration of a processor in an electronic device according to an exemplary embodiment.
도 9a는 일 실시예에 따른 트레이 구조에 제1 카드 타입 SIM 및 제2 카드 타입 메모리가 장착되어 접속된 경우 프로세서의 동작을 설명하기 위한 도면이다. FIG. 9A is a diagram for explaining an operation of a processor when a first card-type SIM and a second card-type memory are mounted and connected to the tray structure according to an exemplary embodiment;
도 9b는 일 실시예에 따른 트레이 구조에 제1 카드 타입 기압 센서가 장착되어 접속된 경우 프로세서의 동작을 설명하기 위한 도면이다. 9B is a view for explaining the operation of the processor when the first card type barometric pressure sensor is mounted and connected to the tray structure according to an embodiment.
도 9c는 일 실시예에 따른 트레이 구조에 제2 카드 타입 기압 센서가 장착되어 접속된 경우 프로세서의 동작을 설명하기 위한 도면이다. 9C is a view for explaining an operation of a processor when a second card type air pressure sensor is mounted and connected to the tray structure according to an embodiment.
도 10은 일 실시예에 따른 전자 장치에서 제1 카드 타입 기압 센서 이용 동작을 나타낸 흐름도이다.10 is a flowchart illustrating an operation of using a first card type air pressure sensor in an electronic device according to an exemplary embodiment.
도 11은 일 실시예에 따른 전자 장치에서 제2 카드 타입 기압 센서 이용 동작을 나타낸 흐름도이다.11 is a flowchart illustrating an operation of using a second card type barometric pressure sensor in an electronic device according to an exemplary embodiment.
도 12는 일 실시예에 따른 MCU(micro controller unit) 타입 기압 센서의 구성을 나타낸 도면이다.12 is a diagram illustrating a configuration of a micro controller unit (MCU) type barometric pressure sensor according to an exemplary embodiment.
도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 일반적으로 사용되는 사전에 정의된 용어들은 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미를 가지는 것으로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 발명의 실시예들을 배제하도록 해석될 수 없다.Terms used in this document are only used to describe specific embodiments, and may not be intended to limit the scope of other embodiments. The singular expression may include the plural expression unless the context clearly dictates otherwise. All terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by one of ordinary skill in the art of the present invention. Commonly used terms defined in the dictionary may be interpreted as having the same or similar meaning as the meaning in the context of the related art, and unless explicitly defined in this document, are not interpreted in an ideal or excessively formal meaning . In some cases, even terms defined in this document cannot be construed to exclude embodiments of the present invention.
도 1은 다양한 실시예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with at least one of the electronic device 104 and the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 . In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 1eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may provide a peak data rate (eg, 20 Gbps or more) for realizing 1eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, underside) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of the operations performed by the electronic device 101 may be executed by one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
도 2는 일 실시예에 따른 전자 장치의 사시도이다.2 is a perspective view of an electronic device according to an exemplary embodiment.
도 2를 참조하면, 일 실시예에 따른 전자 장치(201)(예: 도 1의 전자 장치(101)는, 제 1 면(또는 전면)(220A), 제 2 면(또는 후면)(220B), 및 제 1 면(220A) 및 제 2 면(220B) 사이의 공간을 둘러싸는 측면(220C)을 포함하는 하우징(220)을 포함할 수 있다. 다른 실시예(미도시)에서는, 하우징은, 도 1의 제 1 면(220A), 제 2 면(220B) 및 측면(220C)들 중 일부를 형성하는 구조를 지칭할 수도 있다. 일 실시예에 따르면, 제 1 면(220A)은 적어도 일부분이 실질적으로 투명한 전면 플레이트(미도시)(예: 다양한 코팅 레이어들을 포함하는 글라스 플레이트, 또는 폴리머 플레이트)에 의하여 형성될 수 있다. 예를 들면, 전면 플레이트는 디스플레이(211)와 별도로 디스플레이(211)의 외부 전면에 형성되거나, 디스플레이(211)와 일체로 디스플레이(211)의 전면을 형성할 수 있다. 제 2 면(220B)은 실질적으로 불투명한 후면 플레이트(미도시)에 의하여 형성될 수 있다. 상기 후면 플레이트는, 예를 들어, 코팅 또는 착색된 유리, 세라믹, 폴리머, 금속(예: 알루미늄, 스테인레스 스틸(STS), 또는 마그네슘), 또는 상기 물질들 중 적어도 둘의 조합에 의하여 형성될 수 있다. 상기 측면(220C)은, 전면 플레이트(212) 및 후면 플레이트와 결합하며, 금속 및/또는 폴리머를 포함하는 측면 베젤 구조 (또는 "측면 부재")(228)에 의하여 형성될 수 있다. 어떤 실시예에서는, 후면 플레이트 및 측면 베젤 구조(228)는 일체로 형성되고 동일한 물질(예: 알루미늄과 같은 금속 물질)을 포함할 수 있다.Referring to FIG. 2 , an electronic device 201 (eg, the electronic device 101 of FIG. 1 ) according to an embodiment has a first surface (or front) 220A and a second surface (or a rear surface) 220B. , and a housing 220 including a side surface 220C surrounding a space between the first side 220A and the second side 220B. In another embodiment (not shown), the housing includes: It may also refer to a structure forming a part of the first surface 220A, the second surface 220B, and the side surface 220C of Fig. 1. According to an embodiment, the first surface 220A is at least a portion It may be formed by a substantially transparent front plate (not shown) (eg, a glass plate including various coating layers, or a polymer plate). For example, the front plate may be formed of the display 211 separately from the display 211 . It may be formed on the outer front surface or may form the front surface of the display 211 integrally with the display 211. The second surface 220B may be formed by a substantially opaque rear plate (not shown). The back plate may be formed, for example, by coated or tinted glass, ceramic, polymer, metal (eg, aluminum, stainless steel (STS), or magnesium), or a combination of at least two of the foregoing. The side surface 220C may be formed by a side bezel structure (or "side member") 228 that engages the front plate 212 and the back plate and includes a metal and/or a polymer. In an example, the back plate and side bezel structures 228 are integrally formed and may include the same material (eg, a metal material such as aluminum).
일 실시예에 따르면, 전자 장치(201)는, 디스플레이(211), 오디오 모듈(213, 217, 224), 센서 모듈(214), 카메라 모듈(215), 지문 센서(215), 키 입력 장치(226, 227), 발광 소자(216), 및 커넥터 홀(218, 219) 중 적어도 하나 이상을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는, 구성요소들 중 적어도 하나(예: 지문 센서(215), 또는 발광 소자(216))를 생략하거나 다른 구성요소를 추가적으로 포함할 수 있다.According to an embodiment, the electronic device 201 includes a display 211 , an audio module 213 , 217 , 224 , a sensor module 214 , a camera module 215 , a fingerprint sensor 215 , and a key input device ( At least one of 226 and 227 , a light emitting device 216 , and connector holes 218 and 219 may be included. In some embodiments, the electronic device 201 may omit at least one of the components (eg, the fingerprint sensor 215 or the light emitting device 216 ) or additionally include other components.
일 실시예에 따른 디스플레이(211)는, 예를 들어, 전면 플레이트의 상당 부분을 통하여 노출될 수 있다. 어떤 실시예에서는, 전면 플레이트가 디스플레이(211)의 화면보다 크게 형성되어 전면 플레이트의 일부를 통해 디스플레이(211)의 화면이 노출될 수 있다. 다른 실시예(미도시)에서는, 전면 플레이트가 디스플레이(211)의 화면과 동일한 크기로 형성될 수 있다.The display 211 according to an embodiment may be exposed through, for example, a substantial portion of the front plate. In some embodiments, the front plate is formed to be larger than the screen of the display 211 , so that the screen of the display 211 may be exposed through a part of the front plate. In another embodiment (not shown), the front plate may be formed to have the same size as the screen of the display 211 .
다른 실시예(미도시)에서는, 디스플레이(211)의 화면 표시 영역의 일부에 리세스 또는 개구부(opening)을 형성하고, 상기 리세스 또는 상기 개구부(opening)와 정렬되는 오디오 모듈(224), 센서 모듈(214), 카메라 모듈(215), 및 발광 소자(216) 중 적어도 하나 이상을 포함할 수 있다. 다른 실시예(미도시)에서는, 디스플레이(211)의 화면 표시 영역의 배면에, 오디오 모듈(224), 센서 모듈(214), 카메라 모듈(215), 지문 센서(215), 및 발광 소자(216) 중 적어도 하나 이상을 포함할 수 있다. 다른 실시예(미도시)에서는, 디스플레이(211)는, 터치 감지 회로, 터치의 세기(압력)를 측정할 수 있는 압력 센서, 및/또는 자기장 방식의 스타일러스 펜을 검출하는 디지타이저와 결합되거나 인접하여 배치될 수 있다. In another embodiment (not shown), a recess or opening is formed in a part of the screen display area of the display 211 , and the audio module 224 is aligned with the recess or opening, and the sensor It may include at least one of a module 214 , a camera module 215 , and a light emitting device 216 . In another embodiment (not shown), an audio module 224 , a sensor module 214 , a camera module 215 , a fingerprint sensor 215 , and a light emitting element 216 on the rear surface of the screen display area of the display 211 . ) may include at least one or more of. In another embodiment (not shown), the display 211 is coupled to or adjacent to a touch sensing circuit, a pressure sensor capable of measuring the intensity (pressure) of a touch, and/or a digitizer detecting a magnetic field type stylus pen. can be placed.
일 실시예에 따른 오디오 모듈(213, 217, 224)은, 마이크 홀(213) 및 스피커 홀(217, 224)을 포함할 수 있다. 마이크 홀(213)은 외부의 소리를 획득하기 위한 마이크가 내부에 배치될 수 있고, 어떤 실시예에서는 소리의 방향을 감지할 수 있도록 복수개의 마이크가 배치될 수 있다. 스피커 홀(217, 224)은, 외부 스피커 홀(217) 및 통화용 리시버 홀(224)을 포함할 수 있다. 어떤 실시예에서는 스피커 홀(217, 224)과 마이크 홀(213)이 하나의 홀로 구현 되거나, 스피커 홀(217, 224) 없이 스피커가 포함될 수 있다(예: 피에조 스피커). The audio modules 213 , 217 , and 224 according to an embodiment may include a microphone hole 213 and speaker holes 217 and 224 . In the microphone hole 213, a microphone for acquiring an external sound may be disposed therein, and in some embodiments, a plurality of microphones may be disposed to detect the direction of the sound. The speaker holes 217 and 224 may include an external speaker hole 217 and a call receiver hole 224 . In some embodiments, the speaker holes 217 and 224 and the microphone hole 213 may be implemented as a single hole, or a speaker may be included without the speaker holes 217 and 224 (eg, a piezo speaker).
일 실시예에 따른 센서 모듈(214, 215)은, 전자 장치(201)의 내부의 작동 상태, 또는 외부의 환경 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 센서 모듈(214, 215)은, 예를 들어, 전자 장치(201)는 하우징(220)의 제 1 면(220A)에 배치된 제 1 센서 모듈(214)(예: 근접 센서 또는/및 조도 센서) 및/또는 제 2 센서 모듈(215)(예: 지문 센서)을 포함할 수 있다. 예를 들어, 전자 장치(201)는 상기 하우징(220)의 제 2 면(220B)에 배치된 제 3 센서 모듈(미도시)(예: HRM 센서)를 더 포함할 수 있다. 상기 지문 센서는 하우징(220)의 제 1면(220A)(예: 디스플레이(211) 뿐만아니라 제 2면(220B)에 배치될 수 있다. 전자 장치(201)는, 도시되지 않은 센서 모듈, 예를 들어, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 또는 습도 센서 중 적어도 하나를 더 포함할 수 있다.The sensor modules 214 and 215 according to an embodiment may generate an electrical signal or data value corresponding to an internal operating state of the electronic device 201 or an external environmental state. The sensor modules 214 , 215 may include, for example, the electronic device 201 , a first sensor module 214 (eg, a proximity sensor or/and an illuminance sensor) disposed on the first surface 220A of the housing 220 . ) and/or a second sensor module 215 (eg, a fingerprint sensor). For example, the electronic device 201 may further include a third sensor module (not shown) (eg, an HRM sensor) disposed on the second surface 220B of the housing 220 . The fingerprint sensor may be disposed on the first surface 220A (eg, the display 211) as well as the second surface 220B of the housing 220. The electronic device 201 may include a sensor module, not shown, for example. For example, it may further include at least one of a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, and a humidity sensor.
일 실시예에 따른 카메라 모듈(215)은, 전자 장치(201)의 제 1 면(220A)에 배치된 제 1 카메라 장치(215), 및 제 2 면(220B)에 배치된 제 2 카메라 장치(미도시), 및/또는 플래시(미도시)를 포함할 수 있다. 상기 카메라 장치들(215 및 미도시)은, 하나 또는 복수의 렌즈들, 이미지 센서, 및/또는 이미지 시그널 프로세서를 포함할 수 있다. 플래시는, 예를 들어, 발광 다이오드 또는 제논 램프(xenon lamp)를 포함할 수 있다. 어떤 실시예에서는, 2개 이상의 렌즈들(적외선 카메라, 광각 및 망원 렌즈) 및 이미지 센서들이 전자 장치(201)의 한 면에 배치될 수 있다.The camera module 215 according to an embodiment includes a first camera device 215 disposed on a first side 220A of an electronic device 201 and a second camera device disposed on a second side 220B of the electronic device 201 ( not shown), and/or a flash (not shown). The camera devices 215 and not shown may include one or more lenses, an image sensor, and/or an image signal processor. The flash may include, for example, a light emitting diode or a xenon lamp. In some embodiments, two or more lenses (infrared cameras, wide angle and telephoto lenses) and image sensors may be disposed on one side of the electronic device 201 .
일 실시예에 따른 키 입력 장치(226, 227)는, 디스플레이(211)상에 소프트 키 형태로 배치되거나 하드웨어 키로 배치될 수 있다. 예를 들면, 키입력 장치(266)는 디스플레이(211)에 소프트 키 형태로 배치될 수 있고, 키입력 장치(277)는 하우징(220)의 측면(220C) 하드웨어 키 형태로 배치될 수 있다. 다른 실시예에서는, 전자 장치(201)는 상기 언급된 키 입력 장치(226, 227) 중 일부 또는 전부를 포함하지 않거나 다른 키입력 장치를 더 포함할 수 있다.The key input devices 226 and 227 according to an embodiment may be disposed in the form of soft keys on the display 211 or may be disposed as hardware keys. For example, the key input device 266 may be disposed in the form of a soft key on the display 211 , and the key input device 277 may be disposed in the form of a hardware key on the side surface 220C of the housing 220 . In another embodiment, the electronic device 201 may not include some or all of the above-mentioned key input devices 226 and 227, or may further include other key input devices.
일 실시예에 따른 발광 소자(216)는, 예를 들어, 하우징(220)의 제 1 면(220A)에 배치될 수 있다. 발광 소자(216)는, 예를 들어, 전자 장치(201)의 상태 정보를 광 형태로 제공할 수 있다. 다른 실시예에서는, 발광 소자(216)는, 예를 들어, 카메라 모듈(215)의 동작과 연동되는 광원을 제공할 수 있다. 발광 소자(216)는, 예를 들어, LED, IR LED 및 제논 램프를 포함할 수 있다.The light emitting device 216 according to an embodiment may be disposed, for example, on the first surface 220A of the housing 220 . The light emitting device 216 may provide, for example, state information of the electronic device 201 in the form of light. In another embodiment, the light emitting device 216 may provide, for example, a light source that is interlocked with the operation of the camera module 215 . The light emitting element 216 may include, for example, an LED, an IR LED, and a xenon lamp.
일 실시예에 따른 커넥터 홀(218, 219)은, 외부 전자 장치와 전력 및/또는 데이터를 송수신하기 위한 커넥터(예를 들어, USB 커넥터)를 수용할 수 있는 제 1 커넥터 홀(218), 및/또는 외부 전자 장치와 오디오 신호를 송수신하기 위한 커넥터를 수용할 수 있는 제 2 커넥터 홀(예를 들어, 이어폰 잭)(219)을 포함할 수 있다. 예를 들면, 커넥터 홀(218, 219)은 외부 전자 장치와 전력 및/또는 데이터 송수신과 외부 전자 장치와 오디오 신호 송수신이 모두 가능한 하나의 커넥터 홀로 구성될 수 있다.The connector holes 218 and 219 according to an embodiment include a first connector hole 218 that can accommodate a connector (eg, a USB connector) for transmitting and receiving power and/or data to and from an external electronic device, and It may include a second connector hole (eg, earphone jack) 219 capable of accommodating a connector for transmitting/receiving an audio signal to/from an external electronic device. For example, the connector holes 218 and 219 may be configured as one connector hole capable of both transmitting and receiving power and/or data to and from an external electronic device and an audio signal to and from an external electronic device.
도 3은 일 실시예에 따른 전자 장치의 트레이 구조와 트레이 구조가 외부로 배출되는 모습을 나타내는 사시도이다.3 is a perspective view illustrating a tray structure of an electronic device and a state in which the tray structure is discharged to the outside according to an exemplary embodiment;
도 3을 참조하면, 일 실시예에 따른 도 2의 전자 장치(201)의 상면(220D)은 디스플레이(211) 및 후면 플레이트(미도시)와 결합하며, 금속 및/또는 폴리머를 포함하는 상면 베젤 구조(또는 "상면 베젤" 또는"상면 부재")(229)에 의하여 형성될 수 있다. 어떤 실시예에서는, 후면 플레이트와 측면 베젤 구조(228) 및 상면 베젤 구조(229)는 일체로 형성되고 동일한 물질(예: 알루미늄과 같은 금속 물질)을 포함할 수 있다.Referring to FIG. 3 , an upper surface 220D of the electronic device 201 of FIG. 2 according to an embodiment is coupled to a display 211 and a rear plate (not shown), and an upper bezel including a metal and/or a polymer. structure (or “top bezel” or “top member”) 229 . In some embodiments, the back plate and the side bezel structure 228 and the top bezel structure 229 are integrally formed and may include the same material (eg, a metal material such as aluminum).
일 실시예에 따른 상면 베젤(229)의 외측면에는 제1 오프닝(311) 및 제1 오프닝(311)에 인접하게 형성되는 제2 오프닝(312)이 형성될 수 있고, 트레이 구조(305)가 제1 오프닝(311)을 경유하여 상면 배젤(229)의 내부로 삽입될 수 있다. 제2 오프닝(312)에는 밀봉 부재(미도시)가 삽입될 수 있으며, 밀봉 부재가 제2 오프닝(312)의 일부분을 밀봉할 수 있다. 밀봉 부재는 트레이 구조(305)가 제1 오프닝(311)을 경유하여 상면 배젤(229)의 내부로 삽입됨에 따라 트레이 구조(305)에 형성되며, 제2 오프닝(312)에 대응되는 트레이 홀의 일부분을 밀봉할 수 있다.A first opening 311 and a second opening 312 formed adjacent to the first opening 311 may be formed on the outer surface of the upper bezel 229 according to an embodiment, and the tray structure 305 may be formed therein. It may be inserted into the top bezel 229 through the first opening 311 . A sealing member (not shown) may be inserted into the second opening 312 , and the sealing member may seal a portion of the second opening 312 . The sealing member is formed in the tray structure 305 as the tray structure 305 is inserted into the top bezel 229 through the first opening 311 , and a portion of the tray hole corresponding to the second opening 312 . can be sealed.
일 실시예에 따른 트레이 구조(305)는 상면 베젤(229)의 제1 오프닝(311) 및 제2 오프닝(311)을 통해 상면 베젤(229)과 탈착 가능하게 결합될 수 있다. 일 실시예에 따르면 트레이 구조(305)는 상면 배젤(229)의 내부로 삽입된 상태에서 (사용자의 조작에 의해) 상면 베젤(229)에서 분리되면서 상면 베젤(229)의 외부로 배출되거나, 상면 배젤(229)의 외부로 배출된 상태에서 상면 배젤(229)의 내부로 삽입될 수 있다.The tray structure 305 according to an exemplary embodiment may be detachably coupled to the upper bezel 229 through the first opening 311 and the second opening 311 of the upper bezel 229 . According to an embodiment, the tray structure 305 is discharged to the outside of the upper bezel 229 while being separated from the upper bezel 229 (by a user's manipulation) in a state inserted into the upper bezel 229, or the upper surface In a state in which the bezel 229 is discharged to the outside, it may be inserted into the top bezel 229 .
도 4는 일 실시예에 따른 전자 장치의 트레이 구조를 나타낸 사시도이다.4 is a perspective view illustrating a tray structure of an electronic device according to an exemplary embodiment.
도 4를 참조하면, 일 실시예에 따른 트레이 구조(305)는 카드 타입(또는 메모리 카드 타입) 모듈을 수용하는 수용부(351)를 구비할 수 있다. 일 실시예에 따른 수용부(351)는 제1 카드 타입 모듈이 수용되는 제1 수용 공간(353), 제2 카드 타입 모듈이 수용되는 제2 수용 공간(354) 및 상기 제1 수용 공간(353)과 상기 제2 수용 공간(354)를 분리하는 구획부(352)를 구비할 수 있다. 일 실시예에 따르면, 제1 카드 타입 모듈은 제1 수용 공간(353)에 장착될 시 전자 장치(101)로부터 제1 전력(또는 전압)(예: 3V)을 제공받아 동작할 수 있고, 제2 카드 타입 모듈은 제2 수용 공간(354)에 장착될 시 전자 장치(101)로부터 제2 전력(또는 전압)(예: 1.8V)을 제공받아 동작할 수 있다. Referring to FIG. 4 , the tray structure 305 according to an embodiment may include a accommodating part 351 for accommodating a card type (or memory card type) module. The accommodating part 351 according to an embodiment includes a first accommodating space 353 accommodating a first card type module, a second accommodating space 354 accommodating a second card type module, and the first accommodating space 353 . ) and a partition 352 separating the second accommodation space 354 may be provided. According to an embodiment, when the first card type module is mounted in the first accommodating space 353 , the first power (or voltage) (eg, 3V) may be provided from the electronic device 101 to operate, and the first card type module may operate. When the two-card type module is mounted in the second accommodating space 354 , it may operate by receiving the second power (or voltage) (eg, 1.8V) from the electronic device 101 .
일 실시예에 따르면, 제1 카드 타입 모듈은 제1 카드 타입 SIM(subscriber identity module) 또는 제1 카드 타입 센서를 포함할 수 있고, 제2 카드 타입 모듈은 제2 카드 타입 메모리(예: micro SD 메모리 카드) 또는 제2 카드 타입 센서를 포함할 수 있다. 예를 들면, 제1 카드 타입 센서와 제2 카드 타입의 센서는 기압 센서를 포함할 수 있다. According to an embodiment, the first card type module may include a first card type subscriber identity module (SIM) or a first card type sensor, and the second card type module may include a second card type memory (eg, micro SD). memory card) or a second card type sensor. For example, the first card-type sensor and the second card-type sensor may include an air pressure sensor.
일 실시예에 따르면 트레이 구조(305)의 제1 수용 공간(353)과 제2 수용 공간(354) 모두에 제1 카드 타입 모듈 및 제2 카드 타입 모듈이 수용되어 제1카드 타입 모듈 및 제2 카드 타입 모듈이 동시에 사용될 수 있다. 일 실시예에 따르면 트레이 구조(305)의 제1 수용 공간(353)과 제2 수용 공간(354) 중 어느 하나의 공간에만 제1 카드 타입 모듈 또는 제2 카드 타입 모듈이 수용되어 하나만 사용될 수도 있다. According to an embodiment, the first card type module and the second card type module are accommodated in both the first accommodating space 353 and the second accommodating space 354 of the tray structure 305 so that the first card type module and the second Card type modules can be used simultaneously. According to an embodiment, the first card type module or the second card type module is accommodated in only one of the first accommodating space 353 and the second accommodating space 354 of the tray structure 305, so that only one may be used. .
일 실시예에 따르면 트레이 구조(305)의 일단(355)에는 제2 오프닝(312)에 대응되는 트레이 홀(356)이 형성될 수 있다. According to an embodiment, a tray hole 356 corresponding to the second opening 312 may be formed at one end 355 of the tray structure 305 .
도 5a는 일 실시예에 따른 제1 카드 타입 모듈을 나타낸 도면이고, 도 5b는 일 실시예에 따른 및 제2 카드 타입 모듈을 나타낸 도면이다.5A is a diagram illustrating a first card type module according to an embodiment, and FIG. 5B is a diagram illustrating a second card type module and a second card type module according to an embodiment.
도 5a를 참조하면, 일 실시예에 따른 제1 카드 타입 모듈은 제1 카드 타입 SIM(511) 또는 제1 카드 타입 센서(513)를 포함할 수 있다. 일 실시 예에 따른 제1 카드 타입 센서(513)는 제1 카드 타입 SIM(511)과 크기와 형태가 동일하나 SIM 기능이 아닌 센서 기능을 하는 구성 요소들을 포함할 수 있다. 예를 들면, 제1 카드 타입 센서(513)는 제1 카드 타입 SIM(511)의 형태 또는 제1 카드 타입 SIM (511)이 장착되는 제1 수용 공간(353)의 형태와 동일하거나 유사하고, 하우징(220) 내에서 센싱 동작이 가능한 센서라면 어떠한 센서든 가능할 수 있다. 예를 들면, 제1 카드 타입 센서(523)는 제1 카드 타입 기압 센서일 수 있다.Referring to FIG. 5A , the first card type module according to an embodiment may include a first card type SIM 511 or a first card type sensor 513 . The first card-type sensor 513 according to an embodiment has the same size and shape as the first card-type SIM 511 , but may include components that perform a sensor function rather than a SIM function. For example, the first card type sensor 513 is the same as or similar to the shape of the first card type SIM 511 or the shape of the first receiving space 353 in which the first card type SIM 511 is mounted, Any sensor capable of a sensing operation within the housing 220 may be used. For example, the first card type sensor 523 may be a first card type air pressure sensor.
도 5b를 참조하면, 일 실시예에 따른 제2 카드 타입 모듈은 제2 카드 타입 메모리 (예: micro SD 메모리 카드)(521) 또는 제2 카드 타입 센서(523)를 포함할 수 있다. 일 실시 예에 따른 제2 카드 타입 센서(521)는 제2 카드 타입 메모리(521)의 형태 또는 제2 카드 타입 메모리(521)가 장착되는 제2 수용 공간(354)의 형태와 동일하거나 유사하고, 하우징(220) 내에서 센싱 동작이 가능한 센서라면 어떠한 센서든 가능할 수 있다. 예를 들면, 제2 카드 타입 센서(523)는 제2 카드 타입 기압 센서일 수 있다.Referring to FIG. 5B , the second card type module according to an embodiment may include a second card type memory (eg, a micro SD memory card) 521 or a second card type sensor 523 . The second card type sensor 521 according to an embodiment is the same as or similar to the shape of the second card type memory 521 or the shape of the second accommodating space 354 in which the second card type memory 521 is mounted. , as long as a sensor capable of a sensing operation within the housing 220 may be any sensor. For example, the second card type sensor 523 may be a second card type air pressure sensor.
도 6a는 일 실시예에 따른 제1 카드 타입 SIM 의 구성을 나타낸 도면이고, 도 6b는 일 실시예에 따른 및 제1 카드 타입 센서의 구성을 나타낸 도면이다.6A is a diagram illustrating a configuration of a first card-type SIM according to an embodiment, and FIG. 6B is a diagram illustrating a configuration of a first card-type sensor and a first card-type sensor according to an embodiment.
도 6a를 참조하면, 일 실시예에 따른 제1 카드 타입 SIM(611)은 SIM_RST 핀(631), SIM_CLK 핀(632), SIM_DAT 핀(633)을 포함할 수 있다. 제1 카드 타입 SIM(611)은 전자 장치(101)와 통신을 위한 인터페이스를 포함할 수 있다. 전자 장치(101)와 통신을 위한 인터페이스는 예를 들면, SIM_RST핀(631), SIM_CLK 핀(632), 및/또는 SIM_DAT 핀(633)을 포함할 수 있다. Referring to FIG. 6A , the first card type SIM 611 according to an embodiment may include a SIM_RST pin 631 , a SIM_CLK pin 632 , and a SIM_DAT pin 633 . The first card type SIM 611 may include an interface for communication with the electronic device 101 . An interface for communication with the electronic device 101 may include, for example, a SIM_RST pin 631 , a SIM_CLK pin 632 , and/or a SIM_DAT pin 633 .
도 6b를 참조하면, 일 실시예에 따른 제1 카드 타입 센서(613)는 제1 카드 타입 기압 센서일 수 있다. 일 실시예에 따르면 제1 카드 타입 기압 센서(613)는 기압 센서(650), 카드 인터페이스(660), I2C_CLK 핀(672), I2C_DAT 핀(673)을 포함할 수 있다. 기압 센서(650)는 기압을 센싱하고, 기압 센싱과 연관된 신호(또는 기압 센싱 결과 신호)를 I2C_CLK 핀(672), I2C_DAT 핀(673)을 통해 출력할 수 있다. 카드 인터페이스(660)는 기압 센서(650)와 I2C_CLK핀(672), I2C_DAT핀(673)간의 인터페이스를 수행할 수 있다. Referring to FIG. 6B , the first card type sensor 613 according to an embodiment may be a first card type air pressure sensor. According to an embodiment, the first card type barometric pressure sensor 613 may include a barometric pressure sensor 650 , a card interface 660 , an I2C_CLK pin 672 , and an I2C_DAT pin 673 . The barometric pressure sensor 650 may sense barometric pressure and output a signal (or barometric pressure sensing result signal) related to barometric pressure sensing through the I2C_CLK pin 672 and the I2C_DAT pin 673 . The card interface 660 may interface between the barometric pressure sensor 650 and the I2C_CLK pin 672 and the I2C_DAT pin 673 .
도 7은 일 실시예에 따른 전자 장치의 블록 구성도이다.7 is a block diagram of an electronic device according to an exemplary embodiment.
도 7을 참조하면, 일 실시예에 따른 전자 장치(701)(예: 도 1의 전자 장치(101))는 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다.Referring to FIG. 7 , an electronic device 701 (eg, the electronic device 101 of FIG. 1 ) according to an embodiment may include all or a part of the electronic device 101 illustrated in FIG. 1 .
도 7를 참조하면, 일 실시예에 따른 전자 장치(701)는 커넥터(710), 프로세서(720), 메모리(730), 디스플레이(760), 전력 관리 모듈(788)을 포함할 수 있고, 트레이(755)가 삽입될 수 있다. 예를 들면, 트레이(755)에는 제1 카드 타입 SIM(511 또는 611), 제1 카드 타입 기압 센서(513, 613), 제2 카드 타입 메모리(521), 또는 제2 카드 타입 기압 센서(523)가 장착되어 전자 장치(710)에 삽입될 수 있다.Referring to FIG. 7 , an electronic device 701 according to an embodiment may include a connector 710 , a processor 720 , a memory 730 , a display 760 , and a power management module 788 , and a tray 755 may be inserted. For example, the tray 755 includes a first card type SIM 511 or 611 , first card type air pressure sensors 513 and 613 , a second card type memory 521 , or a second card type air pressure sensor 523 . ) may be mounted and inserted into the electronic device 710 .
일 실시예에 따른 커넥터(710)는 복수의 핀들을 포함할 수 있으며, 복수의 핀들 중 적어도 일부 또는 전부를 통해 제1 카드 타입 SIM(511 또는 611), 제1 카드 타입 기압 센서(513, 613), 제2 카드 타입 메모리(521), 또는 제2 카드 타입 기압 센서(523)와 프로세서(720)가 연결되도록 할 수 있다. 예를 들면, 복수의 핀들은 제1 카드 타입 SIM(511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613)가 연결 가능한 제1 복수의 핀들 및 제2 카드 타입 메모리(521) 또는 제2 카드 타입 기압 센서(523)가 연결 가능한 제2 복수의 핀들을 포함할 수 있다.The connector 710 according to an embodiment may include a plurality of pins, and through at least some or all of the plurality of pins, the first card type SIM 511 or 611 and the first card type barometric pressure sensors 513 and 613 ), the second card type memory 521 , or the second card type barometric pressure sensor 523 and the processor 720 may be connected. For example, the plurality of pins include a first plurality of pins connectable to the first card type SIM 511 or 611 or the first card type barometric pressure sensor 513 or 613 and a second card type memory 521 or second The card-type barometric pressure sensor 523 may include a plurality of second connectable pins.
일 실시예에 따른 프로세서(720)는 커넥터(710)의 복수의 핀들과 전기적으로 연결될 수 있다. 일 실시예에 따른 프로세서는(720)는 제1 복수의 핀들 중 적어도 하나의 핀(예: 제1 detection 핀, 또는 제1 인터럽트 핀, 또는 SIM_RST용 핀)의 신호에 기반하여 커넥터(710)에 제1 카드 타입 모듈(예: 제1 카드 타입 SIM (511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613)) 접속 여부를 확인할 수 있다. 예를 들면, 프로세서는(720)는 SIM_RST 핀으로부터의 신호가 하이 신호에서 로우 신호로 변경된 경우 커넥터(710)에 제1 카드 타입 모듈(예: 제1 카드 타입 SIM(511 또는 611) 또는 제1 카드 타입 기압 센서(513, 또는 613))의 접속을 확인할 수 있다. 예를 들면, 제1 복수의 핀들은 제1 핀, 제2 핀, 및 제3 핀을 포함하고, 프로세서(720)는 상기 제1 카드 모듈의 접속에 기반하여 상기 제1 핀을 통하여 상기 제1 카드 타입 모듈에 리셋 신호를 전송하고, 상기 제2 핀을 통하여 상기 제1 카드 타입 모듈에 클럭을 제공하고, 상기 제 3핀을 통하여 상기 제1 카드 타입 모듈로 데이터를 전송하도록 할 수 있다.The processor 720 according to an embodiment may be electrically connected to a plurality of pins of the connector 710 . The processor 720 according to an embodiment is configured to connect to the connector 710 based on a signal of at least one of the first plurality of pins (eg, a first detection pin, or a first interrupt pin, or a pin for SIM_RST). Whether the first card type module (eg, the first card type SIM 511 or 611 or the first card type barometric pressure sensor 513 or 613) is connected may be checked. For example, when the signal from the SIM_RST pin is changed from a high signal to a low signal, the processor 720 connects the connector 710 to a first card type module (eg, a first card type SIM 511 or 611) or a first The connection of the card-type barometric pressure sensor 513 or 613) can be checked. For example, the first plurality of pins may include a first pin, a second pin, and a third pin, and the processor 720 may use the first pin through the first pin based on the connection of the first card module. It is possible to transmit a reset signal to the card type module, provide a clock to the first card type module through the second pin, and transmit data to the first card type module through the third pin.
일 실시예에 따른 프로세서는(720)는 제2 복수의 핀들 중 적어도 하나의 핀(예: 제2 detection 핀, 또는 제2 인터럽트 핀, 또는 SDC_CMD용 핀)을 통해 커넥터(710)에 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(521) 또는 제2 카드 타입 기압 센서(523))의 접속 여부를 확인할 수 있다. 예를 들면, 프로세서는(720)는 SDC_CMD용 핀으로부터의 신호가 하이 신호에서 로우 신호로 변경된 경우 커넥터(710)에 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(521) 또는 제2 카드 타입 기압 센서(523))의 접속을 확인할 수 있다. 예를 들면, 상기 제2 복수의 핀들은 제4 핀, 제5 핀, 및 제6 핀을 포함하고, 상기 프로세서(720)는 상기 제2 카드 타입 모듈의 접속에 기반하여 상기 제4 핀을 통하여 상기 제2 카드 타입 모듈에 명령어를 제공하고, 상기 제5 핀을 통하여 상기 제2 카드 타입 모듈에 클럭을 제공하고, 상기 제 6핀을 통하여 상기 제2 카드 타입 모듈에 데이터를 전송하도록 설정될 수 있다.The processor 720 according to an embodiment is configured to connect the second card to the connector 710 through at least one pin (eg, a second detection pin, or a second interrupt pin, or a pin for SDC_CMD) among a plurality of second pins. Whether a type module (eg, the second card type memory 521 or the second card type air pressure sensor 523) is connected may be checked. For example, when the signal from the SDC_CMD pin is changed from a high signal to a low signal, the processor 720 connects the second card type module (eg, the second card type memory 521 ) or the second card to the connector 710 . The connection of the type air pressure sensor 523) can be confirmed. For example, the second plurality of pins may include a fourth pin, a fifth pin, and a sixth pin, and the processor 720 may use the fourth pin based on the connection of the second card type module. It can be configured to provide a command to the second card type module, provide a clock to the second card type module through the fifth pin, and transmit data to the second card type module through the sixth pin have.
일 실시예에 따른 프로세서는(720)는 제1 카드 타입 모듈 접속이 확인된 경우 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)인지 제1 카드 타입 기압 센서(513 또는 613)인지 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 제1 카드 타입 모듈 접속이 확인된 경우 제1 카드 타입 SIM(511 또는 611)용 핀들(예: SIM 카드용 핀들(SIM_RST용 핀, SIM_CLK용 핀, SIM_DAT용 핀)) 을 통해 제1 IO(input/output)(예: SIM IO) 기반으로 입력되는 신호를 메모리 카드 디바이스(725)(또는 SIM/메모리 카드 디바이스 드라이버, 이하 SIM/메모리 카드 디바이스 드라이버라고 함)를 프로빙(probing)(또는 구동)시켜 처리하여 에러 여부를 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)인 것으로 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 발생 시 SIM_RST용 핀, SIM_CLK용 핀 및 SIM_DAT용 핀을 각각 제1 카드 타입 기압 센서(513 또는 613)용 핀들(예: 제1 GPIO 핀(GPIO111 핀), 제2 GPIO 핀(예: GPIO112 핀), 및 제3 GPIO 핀(예: GPIO113 핀))로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서(513 또는 613)인지 확인할 수 있다. The processor 720 according to an embodiment determines whether the first card type module is the first card type SIM 511 or 611 or the first card type barometric pressure sensor 513 or 613 when the first card type module connection is confirmed. can be checked According to an embodiment, when the connection of the first card type module is confirmed, the processor 720 may include pins for the first card type SIM 511 or 611 (eg, pins for the SIM card (SIM_RST pins, SIM_CLK pins, SIM_DAT pins). pin) through the first IO (input/output) (eg, SIM IO) based on a signal input to the memory card device 725 (or SIM/memory card device driver, hereinafter referred to as SIM/memory card device driver) can be processed by probing (or driving) to check whether there is an error. According to an embodiment, when no error occurs, the processor 720 may determine that the connected first card type module is the first card type SIM 511 or 611 . According to an embodiment, when an error occurs, the processor 720 sets the SIM_RST pin, the SIM_CLK pin, and the SIM_DAT pin to the pins for the first card type barometric pressure sensor 513 or 613, respectively (eg, the first GPIO pin (GPIO111 pin)) , 2nd GPIO pin (eg GPIO112 pin), and 3rd GPIO pin (eg GPIO113 pin)), the signal input through the GPIO111 pin, GPIO112 pin, and/or GPIO113 pin is transmitted through the I2C emulation technique. By processing, it may be confirmed whether the connected first card type module is the first card type barometric pressure sensor 513 or 613 .
일 실시예에 따르면 프로세서(720)는 커넥터(710)에 제1 카드 타입 SIM(511 또는 611)이 확인된 경우 SIM IO 방식을 유지하고, SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀을 통해 입력되는 신호를 SIM/메모리 카드 디바이스 드라이버(725)를 이용하여 처리하여 제1 카드 타입 SIM(511 또는 611)에 대응된 기능을 수행할 수 있다. 일 실시예에 따르면 프로세서(720)는 커넥터(710)에 제1 카드 타입 기압 센서(513 또는 613)가 접속된 경우 GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 제2 IO 방식으로 입력되는 신호를 기압 센서 드라이버(727)를 이용하여 처리하여 제1 카드 타입 기압 센서(513 또는 613)에 대응된 기능을 수행할 수 있다. According to an embodiment, the processor 720 maintains the SIM IO method when the first card type SIM 511 or 611 is confirmed in the connector 710, and a pin for SIM_RST, a pin for SIM_CLK, and/or a pin for SIM_DAT. A function corresponding to the first card type SIM 511 or 611 may be performed by processing a signal input through the SIM/memory card device driver 725 . According to an embodiment, the processor 720 is the second IO method input through the GPIO111 pin, the GPIO112 pin, and/or the GPIO113 pin when the first card type barometric pressure sensor 513 or 613 is connected to the connector 710. The signal may be processed using the barometric pressure sensor driver 727 to perform a function corresponding to the first card type barometric pressure sensor 513 or 613 .
일 실시예에 따른 프로세서는(720)는 제2 카드 타입 모듈 접속이 확인된 경우 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)(예: micro SD 카드)인지 제2 카드 타입 기압 센서(623)인지 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 제2 카드 타입 모듈 접속이 확인된 경우 제2 카드 타입 메모리(621)용 핀들(예: micro SD 카드용 핀들(SDC_CMD용 핀, SDC_CLK용 핀 및 SDC_DAT용 핀))을 통해 제3 IO(input/output)(예: SD IO) 기반으로 입력되는 신호를 SIM/메모리 카드 디바이스 드라이버(725)를 프로빙(probing)(또는 구동)시켜 처리하여 에러 여부를 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 미발생 시 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)인 것으로 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 발생 시 SDC_CMD용 핀, SDC_CLK용 핀 및 SDC_DAT용 핀을 각각 제2 카드 타입 기압 센서(623)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 기압 센서(623)인지 확인할 수 있다. The processor 720 according to an embodiment determines whether the second card type module is the second card type memory 621 (eg, micro SD card) when the connection of the second card type module is confirmed, or whether the second card type barometric pressure sensor ( 623) can be verified. According to an embodiment, when the second card type module connection is confirmed, the processor 720 performs pins for the second card type memory 621 (eg, pins for the micro SD card (SDC_CMD pin, SDC_CLK pin, and SDC_DAT pin). )), the signal input based on the third IO (input/output) (eg SD IO) is processed by probing (or driving) the SIM/memory card device driver 725 to check whether there is an error. have. According to an embodiment, the processor 720 may determine that the connected second card type module is the second card type memory 621 when no error occurs. According to an embodiment, when an error occurs, the processor 720 sets a pin for SDC_CMD, a pin for SDC_CLK, and a pin for SDC_DAT to the pins for the second card type barometric pressure sensor 623 (eg, GPIO111 pin, GPIO112 pin, and GPIO113 pin). By designating as , the signal input through the GPIO111 pin, the GPIO112 pin, and/or the GPIO113 pin is processed through the I2C emulation technique to check whether the connected second card type module is the second card type barometric pressure sensor 623. .
일 실시예에 따르면 프로세서(720)는 커넥터(710)에 제2 카드 타입 메모리(621)(예: micro SD 카드)가 확인된 경우 제3 IO(예: SD IO) 방식을 유지하고, SDC_CMD용 핀, SDC_CLK용 핀 및/또는 SDC_DAT용 핀을 통해 입력되는 신호를 SIM/메모리 카드 디바이스 드라이버(725)를 이용하여 제2 카드 타입 메모리(621)에 대응된 기능을 수행할 수 있다. 일 실시예에 따르면 프로세서(720)는 커넥터(710)에 제2 카드 타입 기압 센서(623)가 접속된 경우 GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 제2 IO(예: GPIO) 방식으로 입력되는 입력 신호를 기압 센서 드라이버(727)를 이용하여 처리하여 제2 카드 타입 기압 센서(623)에 대응된 기능을 수행할 수 있다. According to an embodiment, the processor 720 maintains the third IO (eg, SD IO) method when the second card type memory 621 (eg, micro SD card) is confirmed in the connector 710 , and for SDC_CMD A function corresponding to the second card type memory 621 may be performed by using the SIM/memory card device driver 725 with a signal input through the pin, the SDC_CLK pin, and/or the SDC_DAT pin. According to an embodiment, when the second card type barometric pressure sensor 623 is connected to the connector 710, the processor 720 is configured to use a GPIO111 pin, a GPIO112 pin, and/or a GPIO113 pin through the second IO (eg, GPIO) method. A function corresponding to the second card type barometric pressure sensor 623 may be performed by processing an input signal input to the barometric pressure sensor driver 727 .
일 실시예에 따르면, 프로세서(720)는 제1 카드 타입 기압 센서(513 또는 613) 또는 제2 카드 타입 기압 센서(623)가 접속된 경우 IO 방식을 SIM 또는 SD I0 방식에서 GPIO 방식으로 설정하고, 제1 카드 타입 기압 센서(513 또는 613) 또는 제2 카드 타입 기압 센서(623)에 전력(예: 전류 또는 전압)이 제공되도록 제어하고, 제1 카드 타입 기압 센서(513 또는 613) 또는 제2 카드 타입 기압 센서(623)로부터 GPIO 방식으로 수신되는 신호에 기반하여 기압 센싱 정보를 획득할 수 있다. 예를 들면, 프로세서(720)는 기압 센싱 정보를 기반으로 전자 장치(701)의 방수 기능 정상 여부(pass 또는 fail)를 확인하고 방수 기능 정상 여부를 디스플레이(760)에 표시하거나, 통신을 통해 외부로 전송할 수 있다.According to an embodiment, the processor 720 sets the IO method from the SIM or SD I0 method to the GPIO method when the first card type air pressure sensor 513 or 613 or the second card type air pressure sensor 623 is connected, and , the first card type barometric pressure sensor (513 or 613) or the second card type barometric pressure sensor (623) is controlled to provide power (eg, current or voltage), the first card type barometric pressure sensor (513 or 613) or the second Barometric pressure sensing information may be obtained based on a signal received from the 2-card type barometric pressure sensor 623 in a GPIO manner. For example, the processor 720 checks whether the waterproof function of the electronic device 701 is normal (pass or fail) based on the barometric pressure sensing information, and displays whether the waterproof function is normal on the display 760 or externally through communication. can be sent to
일 실시예에 따른 메모리(730)는 전자 장치(701)의 적어도 하나의 구성요소(예: 프로세서(720), 디스플레이(760), 전력 관리 모듈(788))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 예를 들면, 메모리(730)는 전자 장치(701)(또는 프로세서(720))의 동작을 수행하기 위한 인스트럭션들을 저장할 수 있다. The memory 730 according to an embodiment may store various data used by at least one component (eg, the processor 720 , the display 760 , and the power management module 788 ) of the electronic device 701 . have. The data may include, for example, input data or output data for software (eg, a program) and instructions related thereto. For example, the memory 730 may store instructions for performing an operation of the electronic device 701 (or the processor 720 ).
일 실시예에 따른 디스플레이(760)는 터치 스크린을 포함할 수 있으며, 프로세서(720)의 동작에 기반한 각종 표시 데이터를 표시할 수 있다. 예를 들면 디스플레이(760)는 기압 센싱 결과 또는 기압 센싱 결과 기반의 방수 기능 정상 여부와 관련된 표시 데이터를 표시할 수 있다. The display 760 according to an embodiment may include a touch screen, and may display various types of display data based on the operation of the processor 720 . For example, the display 760 may display an air pressure sensing result or display data related to whether the waterproof function is normal based on the air pressure sensing result.
일 실시예에 따른 전력 관리 모듈(788)은 전자 장치(701)의 구성 요소 각각에 전력을 공급하고 프로세서(720)의 제어에 기반하여 커넥터(710)를 통해 연결된 제1 카드 타입 모듈 및/또는 제2 카드 타입 모듈에 전력(예: 전류 또는 전압)을 공급할 수 있다.The power management module 788 according to an embodiment supplies power to each component of the electronic device 701 , and based on the control of the processor 720 , a first card type module connected through the connector 710 and/or It can supply power (eg, current or voltage) to the second card type module.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701))에 있어서, 오프닝(예: 도 3의 제1 오프닝(311))을 포함하는 하우징(예: 도 2의 하우징(220)), 상기 하우징의 내부에 배치되고 제1 복수의 핀들하는 커넥터(예: 도 7의 커넥터(710)), 상기 오프닝을 통해 상기 커넥터에 착탈 가능하게 장착되고, 제1 카드 타입 모듈을 수용하기 위한 제1 수용홈(예: 도 3의 353)을 포함하는 트레이(예: 도 3의 305), 및 상기 커넥터와 연결된 프로세서(예: 도 1의 프로세서(120) 또는 도 7의 프로세서(720))를 포함하고, 상기 프로세서는 상기 제1 복수의 핀들 중 제1 핀(예: SIM_RST 핀)의 신호에 기반하여 상기 커넥터에 제1 카드 타입 모듈의 접속 여부를 확인하고, 제1 카드 타입 모듈 접속이 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM(예: 도 5의 제1 카드 타입 SIM(511) 또는 도 6의 제1 카드 타입 SIM(611))인지 제1 카드 타입 기압 센서(예: 도 5의 제1 카드 타입 기압 센서(521) 또는 도 6의 제1 카드 타입 기압 센서(621))인지 확인하고, 상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하고, 및 상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하도록 설정될 수 있다.According to various embodiments, in an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ), an opening (eg, the third embodiment of FIG. 3 ) a housing (eg, housing 220 of FIG. 2 ) including one opening 311 ), a connector disposed inside the housing and having a first plurality of pins (eg, connector 710 of FIG. 7 ), the opening A tray (eg, 305 of FIG. 3 ) that is detachably mounted on the connector through a tray (eg, 305 of FIG. 3 ) including a first accommodating groove (eg, 353 of FIG. 3 ) for accommodating a first card type module, and connected to the connector a processor (eg, the processor 120 of FIG. 1 or the processor 720 of FIG. 7 ), wherein the processor is configured to include a signal of a first pin (eg, a SIM_RST pin) of the first plurality of pins, based on a signal of the connector check whether the first card type module is connected to the , and based on the first card type module access confirmation, the first card type module is connected to the first card type SIM (eg, the first card type SIM 511 in FIG. Or whether the first card type SIM 611 of FIG. 6 ) or a first card type air pressure sensor (eg, the first card type air pressure sensor 521 of FIG. 5 or the first card type air pressure sensor 621 of FIG. 6 ) check, process a first signal input through the first plurality of pins in a first IO manner based on the first card type SIM confirmation, and a second IO based on the first card type barometric pressure sensor confirmation manner to process a second signal input through the first plurality of pins.
다양한 실시예에 따르면, 상기 전자 장치는 디스플레이(예: 도 1의 디스플레이(160), 또는 도 7의 디스플레이(760))를 더 포함하고, 상기 프로세서는, 상기 제1 카드 타입 기압 센서 확인에 기반하여 기압 센서 드라이버를 구동하고, 상기 기압 센서 드라이버를 이용하여 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하여 기압 정보를 획득하고, 상기 기압 정보를 기반으로 상기 전자 장치의 방수 기능 정상 여부를 확인하고, 및 상기 디스플레이에 상기 방수 기능 정상 여부를 표시하도록 제어할 수 있다.According to various embodiments, the electronic device further includes a display (eg, the display 160 of FIG. 1 or the display 760 of FIG. 7 ), and the processor is configured to: to drive the barometric pressure sensor driver, process a second signal input through the first plurality of pins using the barometric pressure sensor driver to obtain barometric pressure information, and a waterproof function of the electronic device is normal based on the barometric pressure information It is possible to check whether or not the waterproof function is normal and to display on the display whether the waterproof function is normal.
다양한 실시예에 따르면, 상기 제1 IO 방식은 SIM IO 방식을 포함하고, 상기 제2 IO 방식은 GPIO 방식을 포함할 수 있다.According to various embodiments, the first IO scheme may include a SIM IO scheme, and the second IO scheme may include a GPIO scheme.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제1 카드 타입 모듈 접속이 확인된 경우 제1 복수의 핀들을 통해 입력되는 신호를 상기 제1 IO 기반으로 처리하여 에러 여부를 확인하고, 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM인 것으로 확인하고, 에러 발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM이 아닌 것으로 확인하도록 설정될 수 있다.According to various embodiments, when the first card type module connection is confirmed, the processor processes signals input through a plurality of first pins based on the first IO to check whether there is an error, and when no error occurs It may be configured to confirm that the connected first card type module is the first card type SIM, and confirm that the connected first card type module is not the first card type SIM when an error occurs.
다양한 실시예에 따르면, 상기 프로세서는, 상기 에러 발생 시 상기 제1 복수의 핀들을 통해 입력되는 신호를 상기 제2 IO 기반의 I2C Emulation 기법을 통해 처리하고, 처리 결과에 기반하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서인지 확인하도록 설정될 수 있다.According to various embodiments, when the error occurs, the processor processes the signals input through the first plurality of pins through the second IO-based I2C emulation technique, and based on the processing result, the connected first It may be configured to check whether the card-type module is the first card-type barometric pressure sensor.
다양한 실시예에 따르면, 상기 제1 복수의 핀들은 제1 핀, 제2 핀, 및 제3 핀을 포함하고, 상기 프로세서는 상기 제1 카드 타입 모듈의 접속에 기반하여 상기 제1 핀을 통하여 상기 제1 카드 타입 모듈을 리셋시키고, 상기 제2 핀을 통하여 상기 제1 카드 타입 모듈에 클럭을 제공하고, 상기 제 3핀을 농하여 상기 제1 카드 타입 모듈로 데이터를 전송하도록 설정될 수 있다.According to various embodiments, the first plurality of pins include a first pin, a second pin, and a third pin, and the processor is configured to use the first pin through the first pin based on the connection of the first card type module. It may be configured to reset the first card type module, provide a clock to the first card type module through the second pin, and transmit data to the first card type module by enriching the third pin.
다양한 실시예에 따르면, 상기 커넥터는 제2 복수의 핀들을 더 포함하고, 상기 트레이는 제2 카드타입 모듈을 수용하기 위한 제2 수용홈(예: 도 3의 제2 수용홈(354))을 더 포함하고, 상기 프로세서는 상기 제2 복수의 핀들 중 적어도 하나의 핀의 신호에 기반하여 상기 커넥터에 제2 카드 타입 모듈의 접속 여부를 확인하고, 제2 카드 타입 모듈 접속이 확인에 기반하여 상기 제2 카드 타입 모듈이 제2 카드 타입 메모리(예: 도 5의 제2 카드 타입 메모리(521))인지 제2 카드 타입 기압 센서(예: 도 5의 제2 카드 타입 기압 센서(523))인지 확인하고, 상기 제2 카드 타입 메모리 확인에 기반하여 제3 IO 방식으로 상기 제2 복수의 핀들을 통해 입력되는 제3 신호를 처리하고, 및 상기 제2 카드 타입 기압 센서 확인에 기반하여 상기 제2 IO 방식으로 상기 제2 복수의 핀들을 통해 입력되는 제4 신호를 처리하도록 설정될 수 있다.According to various embodiments, the connector further includes a second plurality of pins, and the tray has a second receiving groove (eg, the second receiving groove 354 of FIG. 3 ) for accommodating the second card type module. Further comprising, the processor determines whether a second card type module is connected to the connector based on a signal of at least one pin of the second plurality of pins, and the second card type module connection is determined based on the confirmation. Whether the second card type module is a second card type memory (eg, the second card type memory 521 of FIG. 5 ) or a second card type air pressure sensor (eg, the second card type air pressure sensor 523 of FIG. 5 ) check, and process a third signal input through the second plurality of pins in a third IO manner based on the second card type memory check, and the second card type based on the second card type air pressure sensor check It may be configured to process a fourth signal input through the second plurality of pins in an IO method.
다양한 실시예에 따르면, 상기 제3 IO 방식은 SD IO 방식을 포함할 수 있다.According to various embodiments, the third IO scheme may include an SD IO scheme.
다양한 실시예에 따르면, 상기 제2 카드 타입 메모리는 micro SD 카드 메모리를 포함할 수 있고, 상기 제2 카드 타입 기압 센서는 micro SD 카드 형태의 기압 센서를 포함할 수 있다.According to various embodiments, the second card type memory may include a micro SD card memory, and the second card type air pressure sensor may include a micro SD card type air pressure sensor.
다양한 실시예에 따르면, 상기 제2 복수의 핀들은 제4 핀, 제5 핀, 및 제6 핀을 포함하고, 상기 프로세서는 상기 제2 카드 타입 모듈의 접속에 기반하여 상기 제4 핀을 통하여 상기 제2 카드 타입 모듈에 명령어를 제공하고, 상기 제5 핀을 통하여 상기 제2 카드 타입 모듈에 클럭을 제공하고, 상기 제 6핀을 통하여 상기 제2 카드 타입 모듈에 데이터를 전송하도록 설정될 수 있다.According to various embodiments, the second plurality of pins include a fourth pin, a fifth pin, and a sixth pin, and the processor is configured to use the fourth pin through the fourth pin based on the connection of the second card type module. It may be configured to provide a command to a second card type module, provide a clock to the second card type module through the fifth pin, and transmit data to the second card type module through the sixth pin .
도 8은 일 실시예에 따른 전자 장치에서 프로세서의 구성을 설명하기 위한 도면이다. 8 is a diagram for describing a configuration of a processor in an electronic device according to an exemplary embodiment.
도 8을 참조하면, 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701))(이하 도 7의 전자 장치(701)를 예를 들어 설명함)의 프로세서(720)(예: 도 1의 프로세서(120))는 SW IRQ Handler(또는 software interrupt handler)(723), SIM/메모리 카드 드라이버(725), 기압 센서 드라이버(727)를 포함할 수 있다. 예를 들면, SW IRQ Handler(723), SIM/메모리 카드 드라이버(725), 및/또는 기압 센서 드라이버(727)는 각각 기능적(소프트웨어적) 모듈로서 프로세서(720)에 의해 수행되는 프로그램이거나, 각 기능을 수행하는 별도의 프로세서일 수 있다.Referring to FIG. 8 , an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) (hereinafter, the electronic device 701 of FIG. 7 ) is shown in FIG. For example, the processor 720 (eg, the processor 120 in FIG. 1 ) of the processor 720 (eg, the processor 120 in FIG. 1 ) includes a SW IRQ Handler (or software interrupt handler) 723 , a SIM/memory card driver 725 , and a barometric pressure sensor driver 727 . ) may be included. For example, the SW IRQ Handler 723 , the SIM/memory card driver 725 , and/or the barometric pressure sensor driver 727 are each a program executed by the processor 720 as a functional (software) module, or each It may be a separate processor that performs the function.
일 실시예에 따른 SW IRQ Handler(723)는 제1 핀 먹스(pin mux)(721) 및 제2 핀 먹스(722)를 포함할 수 있다. 일 실시예에 따른 제1 핀 먹스(721)는 커넥터(710)의 복수의 핀들 중 제1 복수의 핀들(711)과 연결될 수 있다. 일 실시예에 따른 제1 복수의 핀들(711)은 제1 카드 타입 모듈(예: 제1 카드 타입 SIM (511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613))용 핀들일 수 있다. 일 실시예에 따른 제2 핀 먹스(722)는 커넥터(710)의 복수의 핀들 중 제2 복수의 핀들(712)와 연결될 수 있다. 일 실시예에 따른 제2 복수의 핀들(712)은 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(621) 또는 제2 카드 타입 기압 센서(623))용 핀들일 수 있다.The SW IRQ Handler 723 according to an embodiment may include a first pin mux 721 and a second pin mux 722 . The first pin mux 721 according to an embodiment may be connected to a first plurality of pins 711 among a plurality of pins of the connector 710 . The first plurality of pins 711 according to an embodiment may be pins for a first card type module (eg, a first card type SIM 511 or 611 or a first card type barometric pressure sensor 513 or 613 ). . The second pin mux 722 according to an embodiment may be connected to a second plurality of pins 712 among a plurality of pins of the connector 710 . The second plurality of pins 712 according to an embodiment may be pins for a second card type module (eg, the second card type memory 621 or the second card type barometric pressure sensor 623 ).
일 실시예에 따른 SW IRQ Handler(723)는 제1 복수의 핀들(711) 중 적어도 하나의 핀(제1 핀(71)(예: 제1 detection 핀, 또는 제1 인터럽트 핀, 또는 SIM_RST용 핀))의 신호에 기반하여 커넥터(710)에 제1 카드 타입 모듈(예: 제1 카드 타입 SIM(511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613)) 접속 여부를 확인할 수 있다. 예를 들면, SW IRQ Handler(723)는 제1 핀(71)으로부터의 신호가 하이 신호에서 로우 신호로 변경된 경우 커넥터(710)에 제1 카드 타입 모듈(예: 제1 카드 타입 SIM(511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613))의 접속을 확인할 수 있다. The SW IRQ Handler 723 according to an embodiment includes at least one pin (a first pin 71 (eg, a first detection pin, a first interrupt pin, or a SIM_RST pin) among a plurality of first pins 711 . )), whether the first card type module (eg, the first card type SIM 511 or 611 or the first card type barometric pressure sensor 513 or 613) is connected to the connector 710 may be checked based on the signal. For example, when the signal from the first pin 71 is changed from a high signal to a low signal, the SW IRQ Handler 723 is connected to the first card type module (eg, the first card type SIM 511 or 611) or the first card-type barometric pressure sensor 513 or 613) may be checked.
일 실시예에 따른 SW IRQ Handler(723)는 제2 복수의 핀들(712) 중 제4 핀(72)(예: 제2 detection 핀, 또는 제2 인터럽트 핀, 또는 SDC_CMD용 핀)의 신호에 기반하여 커넥터(710)에 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(621) 또는 제2 카드 타입 기압 센서(623)) 접속 여부를 확인할 수 있다. 예를 들면, SW IRQ Handler(723)는 제4 핀(72)으로부터의 신호가 하이 신호에서 로우 신호로 변경된 경우 커넥터(710)에 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(621) 또는 제2 카드 타입 기압 센서(623))의 접속을 확인할 수 있다. The SW IRQ Handler 723 according to an embodiment is based on a signal of a fourth pin 72 (eg, a second detection pin, or a second interrupt pin, or a pin for SDC_CMD) among a plurality of second pins 712 . Thus, it is possible to check whether the second card type module (eg, the second card type memory 621 or the second card type barometric pressure sensor 623) is connected to the connector 710 . For example, when the signal from the fourth pin 72 is changed from a high signal to a low signal, the SW IRQ Handler 723 connects the connector 710 to the second card type module (eg, the second card type memory 621). Alternatively, the connection of the second card type air pressure sensor 623) may be checked.
일 실시예에 따른 SW IRQ Handler(723)는 제1 카드 타입 모듈 접속이 확인된 경우(예: 제1 카드 타입 SIM 접속 인터럽트 발생 시) 제1 카드 타입 모듈이 제1 카드 타입 SIM)(511 또는 611)인지 제1 카드 타입 기압 센서(513 또는 613)인지 확인할 수 있다. 일 실시예에 따르면 SW IRQ Handler(723)는 제1 카드 타입 모듈 접속 인터럽트 발생 시 제1 핀 먹스(721)를 통해 제1 복수의 핀들(711)로부터 입력되는 신호 처리 방식을 제1 IO(input/output)(예: SIM IO) 방식으로 지정하고, 제1 복수의 핀들(711)로부터 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(probing)(또는 구동)시켜 처리하여 에러 여부를 확인할 수 있다. 일 실시예에 따르면 SW IRQ Handler(723)는 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)인 것으로 확인할 수 있다.The SW IRQ Handler 723 according to an embodiment determines that the first card type module is the first card type SIM) (511 or 611) or the first card type barometric pressure sensor 513 or 613 may be confirmed. According to an embodiment, the SW IRQ Handler 723 transmits a signal processing method input from the first plurality of pins 711 through the first pin mux 721 when a first card type module connection interrupt occurs to a first IO (input). /output) (eg, SIM IO) method, and processing the signals input from the first plurality of pins 711 by probing (or driving) the SIM/memory card driver 725 to determine whether there is an error can be checked According to an embodiment, the SW IRQ Handler 723 may determine that the connected first card type module is the first card type SIM 511 or 611 when no error occurs.
일 실시예에 따르면 SW IRQ Handler(723)는 에러 발생 시 SIM_RST용 핀, SIM_CLK용 핀 및 SIM_DAT용 핀을 각각 제1 카드 타입 기압 센서(513 또는 613)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서(513 또는 613)인지 확인할 수 있다.According to an embodiment, when an error occurs, the SW IRQ Handler 723 sets a pin for SIM_RST, a pin for SIM_CLK, and a pin for SIM_DAT to the pins for the first card type barometric pressure sensor 513 or 613, respectively (eg, GPIO111 pin, GPIO112 pin, and GPIO113 pin), the signal input through the GPIO111 pin, the GPIO112 pin, and/or the GPIO113 pin is processed through the I2C emulation technique so that the connected first card type module is a first card type barometric pressure sensor 513 or 613) can be verified.
일 실시예에 따르면 SW IRQ Handler(723)는 커넥터(710)에 제1 카드 타입 SIM (511 또는 611)의 접속이 확인된 경우 제1 핀 먹스(721)의 SIM IO 방식을 유지하고, 제1 복수의 핀들(711)(예: SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀)을 통해 입력되는 신호의 처리를 위해 SIM/메모리 카드 드라이버(725)를 구동시킬 수 있다. 일 실시예에 따르면 SW IRQ Handler(723)는 커넥터(710)에 제1 카드 타입 기압 센서(513 또는 613)가 접속된 경우 제1 핀 먹스(721)를 통해 제1 복수의 핀들(711)의 속성을 SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀에서 각각 GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀으로 변경하고, SIM IO 방식을 제2 IO(예: GPIO) 방식으로 변경한 후, 제1 복수의 핀들(711)을 통해 입력되는 신호의 처리를 위해 기압 센서 드라이버(727)를 구동시킬 수 있다. According to an embodiment, the SW IRQ Handler 723 maintains the SIM IO method of the first pin mux 721 when the connection of the first card type SIM 511 or 611 to the connector 710 is confirmed, and the first The SIM/memory card driver 725 may be driven to process a signal input through a plurality of pins 711 (eg, a SIM_RST pin, a SIM_CLK pin, and/or a SIM_DAT pin). According to an embodiment, the SW IRQ Handler 723 is configured to connect the first plurality of pins 711 through the first pin mux 721 when the first card type air pressure sensor 513 or 613 is connected to the connector 710 . After changing the attribute from the pin for SIM_RST, the pin for SIM_CLK, and/or the pin for SIM_DAT to the GPIO111 pin, GPIO112 pin, and/or GPIO113 pin, respectively, and change the SIM IO method to the second IO (eg GPIO) method, The barometric pressure sensor driver 727 may be driven to process a signal input through the first plurality of pins 711 .
일 실시예에 따른 SW IRQ Handler(723)는 제2 카드 타입 모듈 접속이 확인된 경우(예: 제2 카드 타입 모듈 접속 인터럽트 발생 시) 제2 카드 타입 모듈이 제2 카드 타입 메모리 (예: SD 카드)(621)인지 제2 카드 타입 기압 센서(623)인지 확인할 수 있다. 일 실시예에 따르면 SW IRQ Handler(723)는 제2 카드 타입 모듈 접속 인터럽트 발생 시 제2 핀 먹스(722)를 통해 제2 복수의 핀들(712)로부터 입력되는 신호 처리 방식을 제3 IO(예: SD IO) 방식으로 지정하고, 제2 복수의 핀들(712)로부터 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(또는 구동)시켜 처리하여 에러 여부를 확인할 수 있다. 일 실시예에 따르면 SW IRQ Handler(723)는 에러 미발생 시 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)인 것으로 확인할 수 있다.The SW IRQ Handler 723 according to an embodiment determines that the second card type module is connected to the second card type memory (eg, SD) when the second card type module connection is confirmed (eg, when the second card type module connection interrupt occurs). card) 621 or the second card type barometric pressure sensor 623 . According to an embodiment, the SW IRQ Handler 723 transmits a signal processing method input from the second plurality of pins 712 through the second pin mux 722 to the third IO (eg, when a second card type module connection interrupt occurs). : SD IO) method, and processing the signals input from the second plurality of pins 712 by probing (or driving) the SIM/memory card driver 725 to check whether there is an error. According to an embodiment, the SW IRQ Handler 723 may confirm that the connected second card type module is the second card type memory 621 when no error occurs.
일 실시예에 따르면 SW IRQ Handler(723)는 에러 발생 시 SDC_CMD용 핀, SDC_CLK용 핀 및 SDC_DAT용 핀을 각각 제2 카드 타입 기압 센서(623)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 기압 센서(623)인지 확인할 수 있다.According to an embodiment, when an error occurs, the SW IRQ Handler 723 uses a pin for SDC_CMD, a pin for SDC_CLK, and a pin for SDC_DAT as pins for the second card type barometric pressure sensor 623 (eg, GPIO111 pin, GPIO112 pin, and GPIO113). pin) to process the signal input through the GPIO111 pin, the GPIO112 pin, and/or the GPIO113 pin through the I2C emulation technique to check whether the connected second card type module is the second card type barometric pressure sensor 623 can
일 실시예에 따르면 SW IRQ Handler(723)는 제2 카드 타입 메모리(621)의 접속이 확인된 경우 제2 핀 먹스(722)의 SD IO 방식을 유지하고, 제2 복수의 핀들(712)(예: SDC_CMD용 핀, SDC_CLK용 핀 및/또는 SDC_DAT용 핀)을 통해 입력되는 신호의 처리를 위해 SIM/메모리 카드 드라이버(725)를 구동시킬 수 있다. 일 실시예에 따르면 SW IRQ Handler(723)는 커넥터(710)에 제2 카드 타입 기압 센서(623)가 접속된 경우 제2 핀 먹스(722)를 통해 제2 복수의 핀들(712)의 속성을 SDC_CMD용 핀, SDC_CLK용 핀 및/또는 SDC_DAT용 핀에서 각각 GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀으로 변경하고, 제3 IO 방식 즉, SD IO 방식을 제2 IO(예: GPIO) 방식으로 변경한 후, 제2 복수의 핀들(712)을 통해 입력되는 신호의 처리를 위해 기압 센서 드라이버(727)를 구동시킬 수 있다. According to an embodiment, the SW IRQ Handler 723 maintains the SD IO method of the second pin mux 722 when the connection of the second card type memory 621 is confirmed, and the second plurality of pins 712 ( Example: The SIM/memory card driver 725 may be driven to process a signal input through the SDC_CMD pin, SDC_CLK pin, and/or SDC_DAT pin). According to an embodiment, the SW IRQ Handler 723 determines the properties of the second plurality of pins 712 through the second pin mux 722 when the second card type barometric pressure sensor 623 is connected to the connector 710 . Change the SDC_CMD pin, SDC_CLK pin, and/or SDC_DAT pin to GPIO111 pin, GPIO112 pin, and/or GPIO113 pin, respectively, and change the third IO method, that is, SD IO method, to the second IO (eg GPIO) method. After the change, the barometric pressure sensor driver 727 may be driven to process a signal input through the second plurality of pins 712 .
일 실시예에 따른 SIM/메모리 카드 드라이버(725)는 제1 복수의 핀들(711) 및/또는 제2 복수의 핀들(712)로부터 제1 IO 또는 제3 IO 방식(예: SIM 또는 SD IO 방식)의 입력 신호를 처리하기 위해 구동될 수 있다. The SIM/memory card driver 725 according to an embodiment may use a first IO or a third IO method (eg, a SIM or SD IO method) from the first plurality of pins 711 and/or the second plurality of pins 712 . ) can be driven to process the input signal.
일 실시예에 따른 기압센서 드라이버(727)는 제1 복수의 핀들(711) 및/또는 제2 복수의 핀들(712)로부터 제2 IO(예: GPIO 방식)의 입력 신호를 처리하기 위해 구동될 수 있다. The barometric pressure sensor driver 727 according to an embodiment is to be driven to process the input signal of the second IO (eg, GPIO method) from the first plurality of pins 711 and/or the second plurality of pins 712 . can
도 9a는 일 실시예에 따른 트레이 구조에 제1 카드 타입 SIM 및 제2 카드 타입 메모리가 장착되어 접속된 경우 프로세서의 동작을 설명하기 위한 도면이다. FIG. 9A is a diagram for explaining an operation of a processor when a first card-type SIM and a second card-type memory are mounted and connected to the tray structure according to an exemplary embodiment;
도 9a를 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701)의 트레이 구조(755)의 제1 수용 공간(예: 도 3의 제1 수용 공간(353))에 제1 카드 타입 SIM(611)이 장착되고, 제2 수용 공간 (예: 도 3의 제2 수용 공간(354))에 제2 카드 타입 메모리(621)이 장착될 수 있다. 일 실시예에 따른 트레이 구조(755)에 제1 카드 타입 SIM(611)와 제2 카드 타입 메모리(621)가 장착되어 삽입되면 전력 관리 모듈(788)로부터 제1 전력(또는 제1 전압(예: 3V))이 제1 카드 타입 SIM(611)에 제공될 수 있고, 전력 관리 모듈(788)로부터 제2 전력(또는 제2 전압(예: 1.8V))이 제2 카드 타입 메모리(621)에 제공될 수 있다. 일 실시예에 따른 트레이 구조(755)에 제1 카드 타입 SIM(611)와 제2 카드 타입 메모리(621)가 장착되어 삽입되면 제1 카드 타입 SIM(611)의 핀들(예: SIM_RST핀(631), SIM_CLK 핀(632), 및 SIM_DAT 핀(633))이 커넥터(710)의 제1 복수의 핀들(711)과 연결될 수 있고, 제2 카드 타입 메모리(621)의 핀들(예: SDC_CMD핀, SDC_CLK 핀, 및 SDC_DAT 핀)이 커넥터(710)의 제2 복수의 핀들(712)과 연결될 수 있다. Referring to FIG. 9A , a tray structure 755 of an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) according to an embodiment is shown. The first card-type SIM 611 is mounted in the first accommodating space (eg, the first accommodating space 353 of FIG. 3 ), and in the second accommodating space (eg, the second accommodating space 354 of FIG. 3 ). A second card type memory 621 may be mounted therein. When the first card type SIM 611 and the second card type memory 621 are mounted and inserted into the tray structure 755 according to an embodiment, the power management module A first power (or a first voltage (eg, 3V)) from 788 may be provided to the first card type SIM 611 , and a second power (or a second voltage (eg, 3V) from the power management module 788 ) : 1.8V)) may be provided in the second card type memory 621. The first card type SIM 611 and the second card type memory 621 are mounted in the tray structure 755 according to an embodiment. When inserted, the pins of the first card type SIM 611 (eg, the SIM_RST pin 631 , the SIM_CLK pin 632 , and the SIM_DAT pin 633 ) are connected to the first plurality of pins 711 of the connector 710 and may be connected, and pins (eg, SDC_CMD pin, SDC_CLK pin, and SDC_DAT pin) of the second card type memory 621 may be connected to a plurality of second pins 712 of the connector 710 .
일 실시예에 따른 프로세서(720)의 SW IRQ Handler(723)는 제1 복수의 핀들(711) 중 제1 핀(71)(예: 제1 detection 핀, 또는 제1 인터럽트 핀, 또는 SIM_RST용 핀)의 신호(예: 제1 인터럽트 신호)에 기반하여 커넥터(710)에 제1 카드 타입 모듈이 접속된 것을 확인할 수 있고, 제2 복수의 핀들(721) 중 제4 핀(72)(예: 제2 detection 핀, 또는 제2 인터럽트 핀, 또는 SDC_CMD용 핀)의 신호(예: 제2 인터럽트 신호)에 기반하여 커넥터(710)에 제2 카드 타입 모듈이 접속된 것을 확인할 수 있다.The SW IRQ Handler 723 of the processor 720 according to an embodiment has a first pin 71 (eg, a first detection pin, a first interrupt pin, or a SIM_RST pin) among a plurality of first pins 711 . ), it can be confirmed that the first card type module is connected to the connector 710 based on the signal (eg, the first interrupt signal), and the fourth pin 72 among the second plurality of pins 721 (eg: It may be confirmed that the second card type module is connected to the connector 710 based on a signal (eg, a second interrupt signal) of the second detection pin, the second interrupt pin, or the SDC_CMD pin.
일 실시예에 따른 프로세서(720)의 SW IRQ Handler(723)는 제1 카드 타입 모듈 및 제2 카드 타입 모듈 접속 확인에 기반하여 제1 카드 타입 모듈에 제1 전력(또는 전압(예: 3V))를 제공하고, 제2 카드 타입 모듈에 제2 전력(또는 전압(예: 1.8V))를 제공하도록 전력 관리 모듈(788)을 제어할 수 있다.The SW IRQ Handler 723 of the processor 720 according to an embodiment provides the first power (or voltage (eg, 3V) to the first card type module based on the first card type module and the second card type module connection confirmation. ) and may control the power management module 788 to provide the second power (or voltage (eg, 1.8V)) to the second card type module.
일 실시예에 따른 SW IRQ Handler(723)는 제1 메모리 카드 타입 모듈 접속이 확인된 경우 제1 핀 먹스(721)를 통해 제1 복수의 핀들(711)로부터 입력되는 신호 처리 방식을 제1 IO(input/output)(예: SIM IO) 방식으로 지정하고, 제1 복수의 핀들(711)로부터 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(또는 구동)시켜 처리하여 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)인 것으로 확인할 수 있다. 일 실시예에 따른 SW IRQ Handler(723)는 제2 카드 타입 모듈 접속이 확인된 경우 제2 핀 먹스(722)를 통해 제2 복수의 핀들(712)로부터 입력되는 신호 처리 방식을 제3 IO(예: SD IO) 방식으로 지정하고, 제2 복수의 핀들(712)로부터 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(또는 구동)시켜 처리하여 에러 미발생 시 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)인 것으로 확인할 수 있다.The SW IRQ Handler 723 according to an embodiment determines the signal processing method input from the first plurality of pins 711 through the first pin mux 721 when the first memory card type module connection is confirmed as the first IO (input/output) (eg, SIM IO) method, and processing the signals input from the first plurality of pins 711 by probing (or driving) the SIM/memory card driver 725, so that no error occurs It can be confirmed that the connected first card type module is the first card type SIM 511 or 611 . The SW IRQ Handler 723 according to an embodiment sets the signal processing method input from the second plurality of pins 712 through the second pin mux 722 to the third IO ( Example: SD IO) method, the signal input from the second plurality of pins 712 is processed by probing (or driving) the SIM/memory card driver 725, and when no error occurs, the connected second card It can be confirmed that the type module is the second card type memory 621 .
일 실시예에 따른 SW IRQ Handler(723)는 커넥터(710)에 제1 카드 타입 SIM(511 또는 611) 및 제2 카드 타입 메모리(621) 접속이 확인된 경우 제1 핀 먹스(721)의 SIM IO 방식 및 제2 핀 먹스(722)의 SD IO 방식을 유지하고, 제1 복수의 핀들(711)(예: SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀)을 통해 입력되는 신호 및 제2 복수의 핀들(712)(예: SDC_CMD용 핀, SDC_CLK용 핀 및/또는 SDC_DAT용 핀)을 통해 입력되는 신호의 처리를 위해 SIM/메모리 카드 드라이버(725)를 구동시킬 수 있다.The SW IRQ Handler 723 according to an embodiment is the SIM of the first pin mux 721 when the connection of the first card type SIM 511 or 611 and the second card type memory 621 to the connector 710 is confirmed. The IO method and the SD IO method of the second pin mux 722 are maintained, and the signal input through the plurality of first pins 711 (eg, a pin for SIM_RST, a pin for SIM_CLK, and/or a pin for SIM_DAT) and the second pin are inputted. 2 The SIM/memory card driver 725 may be driven to process a signal input through a plurality of pins 712 (eg, a pin for SDC_CMD, a pin for SDC_CLK, and/or a pin for SDC_DAT).
일 실시예에 따른 SIM/메모리 카드 드라이버(725)는 제1 복수의 핀들(711) 및/또는 제2 복수의 핀들(712)로부터 제1 IO 및/또는 제3 IO(예: SIM IO 및/또는 SD IO)의 입력 신호를 처리하기 위해 구동될 수 있다. The SIM/memory card driver 725 according to an embodiment may include a first IO and/or a third IO (eg, SIM IO and/or a first IO and/or a third IO from a first plurality of pins 711 and/or a second plurality of pins 712 ). Alternatively, it may be driven to process an input signal of SD IO).
도 9b는 일 실시예에 따른 트레이 구조에 제1 카드 타입 기압 센서가 장착되어 접속된 경우 프로세서의 동작을 설명하기 위한 도면이다. 9B is a view for explaining the operation of the processor when the first card type barometric pressure sensor is mounted and connected to the tray structure according to an embodiment.
도 9b를 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701)의 트레이 구조(755)의 제1 수용 공간(예: 도 3의 제1 수용 공간(353))에 제1 카드 타입 기압 센서(613)이 장착되고, 제2 수용 공간(예: 도 3의 제2 수용 공간(354))은 빈 상태일 수 있다. 일 실시예에 따른 트레이 구조(755)에 제1 카드 타입 기압 센서(613)가 장착되어 삽입되면 제1 카드 타입 기압 센서(613)의 핀들(예: I2C_CLK 핀(672), 및 I2C _DAT 핀(673))이 커넥터(710)의 제1 복수의 핀들(711) 중 적어도 일부와 연결될 수 있다.Referring to FIG. 9B , a tray structure 755 of an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) according to an embodiment is shown. The first card type air pressure sensor 613 is mounted in the first accommodating space (eg, the first accommodating space 353 of FIG. 3 ), and the second accommodating space (eg, the second accommodating space 354 of FIG. 3 )) When the first card type air pressure sensor 613 is mounted and inserted into the tray structure 755 according to an embodiment, the pins of the first card type air pressure sensor 613 (eg, I2C_CLK pin 672 ) ), and the I2C _DAT pin 673 ) may be connected to at least some of the first plurality of pins 711 of the connector 710 .
일 실시예에 따른 프로세서(720)의 SW IRQ Handler(723)는 제1 복수의 핀들(711) 중 제1 핀(71)(예: 제1 detection 핀, 또는 제1 인터럽트 핀, 또는 SIM_RST용 핀)의 신호에 기반하여 커넥터(710)에 제1 카드 타입 모듈이 접속된 것을 확인할 수 있다.The SW IRQ Handler 723 of the processor 720 according to an embodiment has a first pin 71 (eg, a first detection pin, a first interrupt pin, or a SIM_RST pin) among a plurality of first pins 711 . ), it can be confirmed that the first card type module is connected to the connector 710 based on the signal.
일 실시예에 따른 프로세서(720)의 SW IRQ Handler(723)는 제1 카드 타입 모듈 접속 확인에 기반하여 제1 카드 타입 모듈에 제1 전력(또는 제1 전압(예: 3V))을 제공하도록 전력 관리 모듈(788)을 제어할 수 있다.The SW IRQ Handler 723 of the processor 720 according to an embodiment provides a first power (or a first voltage (eg, 3V)) to the first card type module based on the first card type module connection confirmation. The power management module 788 may be controlled.
일 실시예에 따른 SW IRQ Handler(723)는 제1 카드 타입 모듈 접속이 확인된 경우 제1 핀 먹스(721)를 통해 제1 복수의 핀들(711)로부터 입력되는 신호 처리 방식을 제1 IO(예: SIM IO) 방식으로 지정하고, 제1 복수의 핀들(711)로부터 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(또는 구동)시켜 처리하여 에러 발생 시 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)이 아닌 것으로 확인할 수 있다.The SW IRQ Handler 723 according to an embodiment sets the signal processing method input from the first plurality of pins 711 through the first pin mux 721 to the first IO ( Example: SIM IO) method, the signal input from the first plurality of pins 711 is processed by probing (or driving) the SIM/memory card driver 725, and when an error occurs, the connected first card type It may be confirmed that the module is not the first card type SIM 511 or 611 .
일 실시예에 따르면 SW IRQ Handler(723)는 에러 발생 시 SIM_RST용 핀, SIM_CLK용 핀 및 SIM_DAT용 핀을 각각 제1 카드 타입 기압 센서(613)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서(613)인지 확인할 수 있다.According to an embodiment, the SW IRQ Handler 723 sets a pin for SIM_RST, a pin for SIM_CLK, and a pin for SIM_DAT when an error occurs, respectively, to pins for the first card type barometric pressure sensor 613 (eg, GPIO111 pin, GPIO112 pin, and GPIO113). pin) to process the signal input through the GPIO111 pin, the GPIO112 pin, and/or the GPIO113 pin through the I2C Emulation technique to check whether the connected first card type module is the first card type barometric pressure sensor 613 can
일 실시예에 따른 SW IRQ Handler(723)는 커넥터(710)에 제1 카드 타입 기압 센서(613)의 접속이 확인된 경우 제1 핀 먹스(721)를 통해 제1 복수의 핀들(711)의 속성을 SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀에서 각각 GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀으로 변경하고, SIM IO 방식을 제2 IO(예: GPIO) 방식으로 변경한 후, 제1 복수의 핀들(711)을 통해 입력되는 신호의 처리를 위해 기압 센서 드라이버(727)를 구동시킬 수 있다.The SW IRQ Handler 723 according to an embodiment is the first plurality of pins 711 through the first pin mux 721 when the connection of the first card type barometric pressure sensor 613 to the connector 710 is confirmed. After changing the attribute from the pin for SIM_RST, the pin for SIM_CLK, and/or the pin for SIM_DAT to the GPIO111 pin, GPIO112 pin, and/or GPIO113 pin, respectively, and change the SIM IO method to the second IO (eg GPIO) method, The barometric pressure sensor driver 727 may be driven to process a signal input through the first plurality of pins 711 .
일 실시예에 따른 기압 센서 드라이버(727)는 제1 복수의 핀들(711)로부터 제2 IO(예: GPIO)의 입력 신호를 처리하기 위해 구동될 수 있다. The barometric pressure sensor driver 727 according to an embodiment may be driven to process an input signal of the second IO (eg, GPIO) from the plurality of first pins 711 .
도 9c는 일 실시예에 따른 트레이 구조에 제2 카드 타입 기압 센서가 장착되어 접속된 경우 프로세서의 동작을 설명하기 위한 도면이다. 9C is a view for explaining an operation of a processor when a second card type air pressure sensor is mounted and connected to the tray structure according to an embodiment.
도 9c를 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701))의 트레이 구조(755)의 제2 수용 공간(예: 도 3의 제2 수용 공간(354))에 제2 카드 타입 기압 센서(623)가 장착되고, 제1 수용 공간(예: 도 3의 제1 수용 공간(353))은 빈 상태일 수 있다. 일 실시예에 따른 트레이 구조(755)에 제2 카드 타입 기압 센서(623)가 장착되어 전자 장치(701)에 삽입되면 제2 카드 타입 기압 센서(623)의 핀들(예: I2C_CLK 핀(672), 및 I2C _DAT 핀(673))이 커넥터(710)의 제2 복수의 핀들(712)의 적어도 일부와 연결될 수 있다.Referring to FIG. 9C , a tray structure 755 of an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) according to an exemplary embodiment. A second card-type barometric pressure sensor 623 is mounted in the second accommodating space (eg, the second accommodating space 354 of FIG. 3) of the ) may be empty. When the second card type barometric pressure sensor 623 is mounted on the tray structure 755 according to an embodiment and inserted into the electronic device 701 , the pins of the second card type barometric pressure sensor 623 (eg, I2C_CLK pin 672 ) , and I2C _DAT pin 673 ) may be connected to at least some of the second plurality of pins 712 of the connector 710 .
일 실시예에 따른 프로세서(720)의 SW IRQ Handler(723)는 제2 복수의 핀들(712) 중 제4 핀(72)(예: 제2 detection 핀, 또는 제2 인터럽트 핀, 또는 SDC_CMD용 핀)의 신호에 기반하여 커넥터(710)에 제2 카드 타입 모듈이 접속된 것을 확인할 수 있다.The SW IRQ Handler 723 of the processor 720 according to an embodiment is a fourth pin 72 (eg, a second detection pin, or a second interrupt pin, or a pin for SDC_CMD) among a plurality of second pins 712 . ), it can be confirmed that the second card type module is connected to the connector 710 based on the signal.
일 실시예에 따른 프로세서(720)의 SW IRQ Handler(723)는 제2 카드 타입 모듈 접속 확인에 기반하여 제2 카드 타입 모듈에 제2 전력(또는 전압(예: 1.8V))를 제공하도록 전력 관리 모듈(788)을 제어할 수 있다.The SW IRQ Handler 723 of the processor 720 according to an embodiment is powered to provide the second power (or voltage (eg, 1.8V)) to the second card type module based on the second card type module connection confirmation. The management module 788 may be controlled.
일 실시예에 따른 SW IRQ Handler(723)는 제2 카드 타입 모듈 접속이 확인된 경우 제2 핀 먹스(722)를 통해 제2 복수의 핀들(712)로부터 입력되는 신호 처리 방식을 제3 IO(예: SD IO) 방식으로 지정하고, 제2 복수의 핀들(712)로부터 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(또는 구동)시켜 처리하여 에러 발생 시 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)가 아닌 것으로 확인할 수 있다.The SW IRQ Handler 723 according to an embodiment sets the signal processing method input from the second plurality of pins 712 through the second pin mux 722 to the third IO ( Example: SD IO) method, the signal input from the second plurality of pins 712 is processed by probing (or driving) the SIM/memory card driver 725, and when an error occurs, the connected second card type It can be confirmed that the module is not the second card type memory 621 .
일 실시예에 따르면 SW IRQ Handler(723)는 에러 발생 시 SDC_CMD용 핀, SDC_CLK용 핀, 및 SDC_DAT용 핀을 각각 제2 카드 타입 기압 센서(623)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 기압 센서(623)인지 확인할 수 있다.According to an embodiment, when an error occurs, the SW IRQ Handler 723 sets the pin for SDC_CMD, the pin for SDC_CLK, and the pin for SDC_DAT to the pins for the second card type barometric pressure sensor 623 (eg, GPIO111 pin, GPIO112 pin, and GPIO113 pin), the signal input through the GPIO111 pin, the GPIO112 pin, and/or the GPIO113 pin is processed through the I2C emulation technique to determine whether the connected second card type module is the second card type barometric pressure sensor 623 can be checked
일 실시예에 따른 SW IRQ Handler(723)는 커넥터(710)에 제2 카드 타입 기압 센서(623) 접속이 확인된 경우 제2 핀 먹스(722)를 통해 제2 복수의 핀들(712)을 통해 제2 IO(예: GPIO) 방식으로 입력되는 신호의 처리를 위해 기압 센서 드라이버(727)를 구동시킬 수 있다.The SW IRQ Handler 723 according to an embodiment is connected to the connector 710 through the second plurality of pins 712 through the second pin mux 722 when the connection of the second card type barometric pressure sensor 623 is confirmed. The barometric pressure sensor driver 727 may be driven to process a signal input by the second IO (eg, GPIO) method.
일 실시예에 따른 기압 센서 드라이버(727)는 제2 복수의 핀들(712)로부터 제2 IO의 입력 신호를 처리하기 위해 구동될 수 있다. The barometric pressure sensor driver 727 according to an embodiment may be driven to process the input signal of the second IO from the second plurality of pins 712 .
다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701))에서 카드 타입 기압 센서 이용 방법은 상기 전자 장치의 하우징(예: 도 2의 하우징(220))의 내부에 배치된 커넥터(예: 도 7의 커넥터(710))의 제1 복수의 핀들(예: 도 8의 제1 복수의 핀들(711))에 제1 카드 타입 모듈의 접속 여부를 확인하는 동작, 상기 제1 카드 타입 모듈의 접속 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM(예: 도 5의 제1 카드 타입 SIM(511) 또는 도 6의 제1 카드 타입 SIM(621))인지 제1 카드 타입 기압 센서(예: 도 5의 제1 카드 타입 기압 센서(513) 또는 도 6의 제1 카드 타입 기압 센서(613))인지 확인하는 동작, 상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하는 동작, 및 상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하는 동작을 포함할 수 있다.According to various embodiments, the method of using a card type air pressure sensor in an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) may include the electronic device The first plurality of pins (eg, the first plurality of pins 711 of FIG. 8 ) of the connector (eg, the connector 710 of FIG. 7 ) disposed inside the housing (eg, the housing 220 of FIG. 2 ) of ) to determine whether the first card type module is connected to the first card type module, based on the connection confirmation of the first card type module, the first card type module is connected to the first card type SIM (eg, the first card type SIM in FIG. 5 ). 511 or the first card type SIM 621 of FIG. 6 ) or a first card type barometric pressure sensor (eg, the first card type barometric pressure sensor 513 of FIG. 5 or the first card type barometric pressure sensor 613 of FIG. 6 ) )), an operation of processing a first signal input through the first plurality of pins in a first IO method based on the first card type SIM confirmation, and an operation of confirming the first card type air pressure sensor and processing a second signal input through the first plurality of pins in a second IO method based on the second IO method.
다양한 실시예에 따르면, 상기 방법은 상기 제1 카드 타입 기압 센서 확인에 기반하여 기압 센서 드라이버를 구동하는 동작, 상기 기압 센서 드라이버를 이용하여 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하여 기압 정보를 획득하는 동작, 상기 기압 정보를 기반으로 상기 전자 장치의 방수 기능 정상 여부를 확인하는 동작, 및 상기 전자 장치의 디스플레이(예: 도 1의 디스플레이(160), 또는 도 7의 디스플레이(760))에 상기 방수 기능 정상 여부를 표시하는 동작을 포함할 수 있다.According to various embodiments, the method includes an operation of driving a barometric pressure sensor driver based on the first card type barometric pressure sensor confirmation, and processing a second signal input through the first plurality of pins using the barometric pressure sensor driver to obtain air pressure information, checking whether the waterproof function of the electronic device is normal based on the barometric pressure information, and a display of the electronic device (eg, the display 160 of FIG. 1 or the display of FIG. 7 ) 760)), indicating whether the waterproof function is normal.
다양한 실시예에 따르면, 상기 제1 IO 방식은 SIM IO 방식을 포함하고, 상기 제2 IO 방식은 GPIO 방식을 포함할 수 있다.According to various embodiments, the first IO scheme may include a SIM IO scheme, and the second IO scheme may include a GPIO scheme.
다양한 실시예에 따르면, 상기 방법은 상기 제1 카드 타입 모듈 접속이 확인된 경우 상기 제1 복수의 핀들을 통해 입력되는 신호를 상기 제1 IO 기반으로 처리하여 에러 여부를 확인하는 동작, 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM인 것으로 확인하는 동작, 에러 발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM이 아닌 것으로 확인하는 동작을 포함할 수 있다.According to various embodiments, when the first card type module connection is confirmed, the method processes signals input through the first plurality of pins based on the first IO to check whether there is an error, no error occurs confirming that the connected first card type module is the first card type SIM when an error occurs, and confirming that the connected first card type module is not the first card type SIM when an error occurs have.
다양한 실시예에 따르면, 상기 방법에서 상기 에러 발생 시 상기 제1 복수의 핀들을 통해 입력되는 신호를 상기 제2 IO 기반의 I2C Emulation 기법을 통해 처리하고, 처리 결과에 기반하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서인지 확인할 수 있다.According to various embodiments, when the error occurs in the method, the signal input through the first plurality of pins is processed through the second IO-based I2C emulation technique, and the connected first card is based on the processing result. It may be confirmed whether the type module is the first card type barometric pressure sensor.
다양한 실시예에 따르면, 상기 제1 복수의 핀들은 제1 핀, 제2 핀, 및 제3 핀을 포함하고, 상기 방법은 상기 제1 카드 타입 모듈의 접속에 기반하여 상기 제1 핀을 통하여 상기 제1 카드 타입 모듈에 리셋 신호(SIM_RST)를 제공하고, 상기 제2 핀을 통하여 상기 제1 카드 타입 모듈에 클럭(SIM_CLK)을 제공하고, 상기 제 3핀을 통하여 상기 제1 카드 타입 모듈에 데이터(SIM_DAT)를 전송하는 동작을 더 포함할 수 있다.According to various embodiments, the first plurality of pins include a first pin, a second pin, and a third pin, and the method includes the first pin through the first pin based on the connection of the first card type module. Provides a reset signal (SIM_RST) to the first card type module, provides a clock (SIM_CLK) to the first card type module through the second pin, and provides data to the first card type module through the third pin The operation of transmitting (SIM_DAT) may be further included.
다양한 실시예에 따르면, 상기 전자 장치의 하우징의 내부에 배치된 커넥터의 제2 복수의 핀들(예: 도 7의 제2 복수의 핀들(712)) 중 제4 핀(예: SDC_CMD)의 신호에 기반하여 상기 커넥터에 제2 메모리 카드 타입 모듈의 접속 여부를 확인하는 동작, 상기 제2 카드 타입 모듈 접속이 확인에 기반하여 상기 제2 카드 타입 모듈이 제2 카드 타입 메모리(예: 도 5의 제2 카드 타입 메모리 (521))인지 제2 카드 타입 기압 센서(예: 도 5의 제2 카드 타입 기압 센서(521))인지 확인하는 동작, 상기 제2 카드 타입 메모리확인에 기반하여 제3 IO 방식으로 상기 제2 복수의 핀들을 통해 입력되는 제3 신호를 처리하는 동작. 및 상기 제2 카드 타입 기압 센서 확인에 기반하여 상기 제2 IO 방식으로 상기 제2 복수의 핀들을 통해 입력되는 제4 신호를 처리하는 동작을 포함할 수 있다.According to various embodiments, the signal of the fourth pin (eg, SDC_CMD) among the second plurality of pins (eg, the second plurality of pins 712 of FIG. 7 ) of the connector disposed inside the housing of the electronic device based on the operation of confirming whether the second memory card type module is connected to the connector, the second card type module is connected to the second card type memory (eg, the second card type memory (eg, 2 card type memory 521) or the second card type air pressure sensor (eg, the second card type air pressure sensor 521 in FIG. 5), the third IO method based on the second card type memory check processing a third signal input through the second plurality of pins. and processing a fourth signal input through the second plurality of pins in the second IO method based on the confirmation of the second card type barometric pressure sensor.
다양한 실시예에 따르면, 상기 제2 카드 타입 메모리는 micro SD 카드 타입 메모리를 포함하고, 상기 제2 카드 타입 기압 센서는 micro SD 카드 형태의 기압 센서를 포함할 수 있다.According to various embodiments, the second card type memory may include a micro SD card type memory, and the second card type air pressure sensor may include a micro SD card type air pressure sensor.
다양한 실시예에 따르면, 상기 방법에서 상기 제2 복수의 핀들은 제4 핀, 제5 핀, 및 제6 핀을 포함하고, 상기 제2 카드 타입 모듈의 접속에 기반하여 상기 제4 핀을 통하여 상기 제2 카드 타입 모듈에 명령어(예: SDC_CMD)를 제공하고, 상기 제5 핀을 통하여 상기 제2 카드 타입 모듈에 클럭(예: SDC_CLK)을 제공하고, 상기 제 6핀을 통하여 상기 제2 카드 타입 모듈에 데이터(예: SDC_DAT)를 전송하는 동작을 더 포함할 수 있다.According to various embodiments, in the method, the second plurality of pins include a fourth pin, a fifth pin, and a sixth pin, and based on the connection of the second card type module, through the fourth pin Provides a command (eg, SDC_CMD) to the second card type module, provides a clock (eg, SDC_CLK) to the second card type module through the fifth pin, and provides the second card type through the sixth pin It may further include an operation of transmitting data (eg, SDC_DAT) to the module.
도 10은 일 실시예에 따른 전자 장치에서 제1 카드 타입 기압 센서 이용 동작을 나타낸 흐름도이다.10 is a flowchart illustrating an operation of using a first card type air pressure sensor in an electronic device according to an exemplary embodiment.
도 10을 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701))의 프로세서(예: 도 1의 프로세서(120) 또는 도 7의 프로세서(720))는 1010 내지 1040 동작 중 적어도 하나의 동작을 수행할 수 있다.Referring to FIG. 10 , a processor of an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) according to an embodiment (eg, FIG. The processor 120 of 1 or the processor 720 of FIG. 7 ) may perform at least one of operations 1010 to 1040 .
1010 동작에서, 일 실시예에 따른 프로세서(720)는 커넥터(710)의 제1 복수의 핀들 중 제1 핀(예: 제1 detection 핀, 또는 제1 인터럽트 핀, 또는 SIM_RST용 핀)의 신호에 기반하여 커넥터(710)에 제1 카드 타입 모듈(예: 제1 카드 타입 SIM(511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613)) 접속 여부를 확인할 수 있다. 예를 들면, 프로세서는(720)는 제1 핀으로부터의 신호가 하이 신호에서 로우 신호로 변경된 경우 커넥터(710)에 제1 카드 타입 모듈(예: 제1 카드 타입 SIM(511 또는 611) 또는 제1 카드 타입 기압 센서(513 또는 613))의 접속을 확인할 수 있다. In operation 1010 , the processor 720 according to an embodiment responds to a signal of a first pin (eg, a first detection pin, or a first interrupt pin, or a pin for SIM_RST) among a plurality of first pins of the connector 710 . based on whether the first card-type module (eg, the first card- type SIM 511 or 611 or the first card-type barometric pressure sensor 513 or 613) is connected to the connector 710 may be checked. For example, when the signal from the first pin is changed from a high signal to a low signal, the processor 720 may connect a first card type module (eg, a first card type SIM 511 or 611) or a first card type module (eg, a first card type SIM 511 or 611) to the connector 710 1 The connection of the card-type barometric pressure sensor 513 or 613) can be checked.
1020 동작에서, 일 실시예에 따른 프로세서는(720)는 제1 카드 타입 모듈 접속이 확인된 경우 제1 카드 타입 모듈이 제1 카드 타입 SIM (511 또는 611)인지 제1 카드 타입 기압 센서(613)인지 확인할 수 있다. 예를 들면, 프로세서(720)는 제1 카드 타입 모듈 접속이 확인된 경우 제1 카드 타입 SIM(511 또는 611)용 핀들(예: SIM 카드용 핀들(SIM_RST용 핀, SIM_CLK용 핀, SIM_DAT용 핀)을 통해 제1 IO(input/output)(예: SIM IO) 기반으로 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(probing)(또는 구동)시켜 처리하여 에러 여부를 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)인 것으로 확인할 수 있고, 에러 발생 시 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 SIM(511 또는 611)가 아닌 것으로 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 발생 시 SIM_RST용 핀, SIM_CLK용 핀 및 SIM_DAT용 핀을 각각 제1 카드 타입 기압 센서(613)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서(613)인지 확인할 수 있다.In operation 1020 , the processor 720 according to an embodiment determines whether the first card type module is the first card type SIM 511 or 611 when the connection to the first card type module is confirmed, or the first card type barometric pressure sensor 613 . ) can be checked. For example, when the connection to the first card type module is confirmed, the processor 720 may use pins for the first card type SIM 511 or 611 (eg, pins for the SIM card (SIM_RST pin, SIM_CLK pin, SIM_DAT pin). ) through a first IO (input/output) (eg, SIM IO)-based signal by probing (or driving) the SIM/memory card driver 725 and processing to determine whether an error exists. According to an embodiment, the processor 720 may determine that the connected first card type module is the first card type SIM 511 or 611 when an error does not occur, and when an error occurs, the connected first card type module It can be confirmed that the first card type is not the SIM 511 or 611. According to an exemplary embodiment, when an error occurs, the processor 720 identifies the SIM_RST pin, the SIM_CLK pin, and the SIM_DAT pin as the first card type barometric pressure sensor, respectively. By designating the pins for (613) (eg, GPIO111 pin, GPIO112 pin, and GPIO113 pin), the signal input through the GPIO111 pin, GPIO112 pin, and/or GPIO113 pin is processed through I2C Emulation technique to process the connected first It may be confirmed whether the first card type module is the first card type barometric pressure sensor 613 .
1030 동작에서, 일 실시예에 따른 프로세서(720)는 제1 카드 타입 SIM(511 또는 611) 확인 시 제1 IO 방식(예: SIM IO 방식)으로 제1 복수의 핀들(711)(예: SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀)을 통해 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 이용하여 처리할 수 있다. 일 실시예에 따른 프로세서(720)는 커넥터(710)에 제1 카드 타입 SIM(511 또는 611)의 접속이 확인된 경우 제1 IO 방식을 유지하고, 제1 복수의 핀들(711)(예: SIM_RST용 핀, SIM_CLK용 핀 및/또는 SIM_DAT용 핀)을 통해 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 이용하여 처리하여 제1 카드 타입 SIM(511 또는 611)에 대응된 기능을 수행할 수 있다. In operation 1030 , the processor 720 according to an embodiment determines the first plurality of pins 711 (eg, SIM_RST) in a first IO method (eg, SIM IO method) when the first card type SIM 511 or 611 is checked. A signal input through a pin for SIM_CLK and/or a pin for SIM_DAT) may be processed using the SIM/memory card driver 725 . The processor 720 according to an embodiment maintains the first IO method when the connection of the first card type SIM 511 or 611 to the connector 710 is confirmed, and the first plurality of pins 711 (eg: A signal input through the SIM_RST pin, SIM_CLK pin, and/or SIM_DAT pin) is processed using the SIM/memory card driver 725 to perform a function corresponding to the first card type SIM 511 or 611. can
1040 동작에서, 일 실시예에 따른 프로세서(720)는 제1 카드 타입 기압 센서(613) 확인 시 제2 IO(예: GPIO) 방식으로 제1 복수의 핀들(711)을 통해 입력되는 신호를 기압 센서 드라이버(727)를 이용하여 처리할 수 있다. 일 실시예에 따른 프로세서(720)는 커넥터(710)에 제1 카드 타입 기압 센서(613)의 접속이 확인된 경우 제1 복수의 핀들(711)의 속성을 SIM_RST용 핀, SIM_CLK용 핀 및 SIM_DAT용 핀에서 제1 카드 타입 기압 센서(613)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하고, SIM IO 방식을 제2 IO(예: GPIO) 방식으로 변경하고, 제1 복수의 핀들(711)을 통해 입력되는 신호를 기압 센서 드라이버(727)를 이용하여 처리하여 제1 카드 타입 기압 센서(613)에 대응된 기능을 수행할 수 있다. In operation 1040, the processor 720 according to an embodiment applies a signal input through the first plurality of pins 711 in the second IO (eg, GPIO) method when the first card type barometric pressure sensor 613 is checked. It can be processed using the sensor driver 727 . When the connection of the first card type barometric pressure sensor 613 to the connector 710 is confirmed, the processor 720 according to an embodiment sets the attributes of the first plurality of pins 711 for a SIM_RST pin, a SIM_CLK pin, and a SIM_DAT. designate the pins for the first card type barometric pressure sensor 613 (eg, GPIO111 pin, GPIO112 pin, and GPIO113 pin) from A signal input through the plurality of pins 711 may be processed using the barometric pressure sensor driver 727 to perform a function corresponding to the first card type barometric pressure sensor 613 .
도 11은 일 실시예에 따른 전자 장치에서 제2 카드 타입 기압 센서 이용 동작을 나타낸 흐름도이다.11 is a flowchart illustrating an operation of using a second card type barometric pressure sensor in an electronic device according to an exemplary embodiment.
도 11을 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701))의 프로세서(예: 도 1의 프로세서(120) 또는 도 7의 프로세서(720))는 1110 내지 1140 동작 중 적어도 하나의 동작을 수행할 수 있다.Referring to FIG. 11 , a processor of an electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) according to an embodiment (eg, FIG. The processor 120 of 1 or the processor 720 of FIG. 7 ) may perform at least one of operations 1110 to 1140 .
1110 동작에서, 일 실시예에 따른 프로세서(720)는 커넥터(710)의 제2 복수의 핀들 중 적어도 하나의 핀(예: 제2 detection 핀, 또는 제2 인터럽트 핀, 또는 SDC_CMD용 핀)의 신호에 기반하여 커넥터(710)에 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(621) 또는 제2 카드 타입 기압 센서(623)) 접속 여부를 확인할 수 있다. 예를 들면, 프로세서는(720)는 SDC_CMD 핀으로부터의 신호가 하이 신호에서 로우 신호로 변경된 경우 커넥터(710)에 제2 카드 타입 모듈(예: 제2 카드 타입 메모리(621) 또는 제2 카드 타입 기압 센서(623))의 접속을 확인할 수 있다. In operation 1110 , the processor 720 according to an embodiment receives a signal of at least one pin (eg, a second detection pin, or a second interrupt pin, or a pin for SDC_CMD) among a plurality of second pins of the connector 710 . based on whether the second card type module (eg, the second card type memory 621 or the second card type barometric pressure sensor 623) is connected to the connector 710 may be checked. For example, when the signal from the SDC_CMD pin is changed from a high signal to a low signal, the processor 720 may connect the second card type module (eg, the second card type memory 621 ) or the second card type to the connector 710 . The connection of the atmospheric pressure sensor 623) can be confirmed.
1120 동작에서, 일 실시예에 따른 프로세서는(720)는 제2 카드 타입 모듈 접속이 확인된 경우 제2 카드 타입 모듈이 제2 카드 타입 메모리(예: micro SD 카드)(621)인지 제2 카드 타입 기압 센서(623)인지 확인할 수 있다. 예를 들면, 프로세서(720)는 제2 카드 타입 모듈 접속이 확인된 경우 제2 카드 타입 메모리(621)용 핀들(예: micro SD카드용 핀들(예: SD_CMD용 핀, SD_CLK용 핀, SD_DAT용 핀) 을 통해 제3 IO(input/output)(예: SD IO) 기반으로 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 프로빙(probing)(또는 구동)시켜 처리하여 에러 여부를 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 미발생 시 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)인 것으로 확인할 수 있고, 에러 발생 시 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 메모리(621)가 아닌 것으로 확인할 수 있다. 일 실시예에 따르면 프로세서(720)는 에러 발생 시 SD_CMD용 핀, SD_CLK용 핀, SD_DAT용 핀 을 각각 제2 카드 타입 기압 센서(623)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하여, GPIO111 핀, GPIO112 핀, 및/또는 GPIO113 핀을 통해 입력되는 신호를 I2C Emulation 기법을 통해 처리하여 상기 접속된 제2 카드 타입 모듈이 제2 카드 타입 기압 센서(623)인지 확인할 수 있다. In operation 1120 , the processor 720 according to an embodiment determines whether the second card type module is the second card type memory (eg, micro SD card) 621 when the connection of the second card type module is confirmed. It can be confirmed whether it is a type barometric pressure sensor 623 . For example, when the second card type module connection is confirmed, the processor 720 may use pins for the second card type memory 621 (eg, pins for a micro SD card (eg, a pin for SD_CMD, a pin for SD_CLK, a pin for SD_DAT). Pin) through a third IO (input/output) (eg SD IO)-based signal is processed by probing (or driving) the SIM/memory card driver 725 to check whether there is an error. According to an embodiment, the processor 720 may determine that the connected second card type module is the second card type memory 621 when an error does not occur, and when an error occurs, the connected second card type module It can be confirmed that it is not the second card type memory 621. According to an embodiment, when an error occurs, the processor 720 sets the SD_CMD pin, SD_CLK pin, and SD_DAT pin to the second card type barometric pressure sensor 623, respectively. The second card type connected by processing the signal input through the GPIO111 pin, GPIO112 pin, and/or GPIO113 pin through the I2C emulation technique by designating the pins for It may be confirmed whether the module is the second card type barometric pressure sensor 623 .
1130 동작에서, 일 실시예에 따른 프로세서(720)는 제2 카드 타입 메모리(621) 확인 시 제3 IO 방식(예: SD IO 방식)으로 제2 복수의 핀들(712)(예: SDC_CMD용 핀, SDC_CLK용 핀 및/또는 SDC_DAT용 핀)을 통해 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 이용하여 처리할 수 있다. 일 실시예에 따른 프로세서(720)는 커넥터(710)에 제2 카드 타입 메모리(621)의 접속이 확인된 경우 제3 IO 방식(예: SD IO 방식)을 유지하고, 제2 복수의 핀들(712)(예: SD_CMD용 핀, SD_CLK용 핀 및/또는 SD_DAT용 핀)을 통해 입력되는 신호를 SIM/메모리 카드 드라이버(725)를 이용하여 처리하여 제2 카드 타입 메모리(621)에 대응된 기능을 수행할 수 있다. In operation 1130 , the processor 720 according to an embodiment determines the second plurality of pins 712 (eg, SDC_CMD pin) in a third IO method (eg, SD IO method) when checking the second card type memory 621 . , SDC_CLK pin and/or SDC_DAT pin) may be processed using the SIM/memory card driver 725 . The processor 720 according to an embodiment maintains the third IO method (eg, SD IO method) when the connection of the second card type memory 621 to the connector 710 is confirmed, and the second plurality of pins ( 712) (eg, pin for SD_CMD, pin for SD_CLK, and/or pin for SD_DAT) processes the signal input through the SIM/memory card driver 725 to function corresponding to the second card type memory 621 can be performed.
1140 동작에서, 일 실시예에 따른 프로세서(720)는 제2 카드 타입 기압 센서(623) 확인 시 제2 IO(예: GPIO) 방식으로 제2 복수의 핀들(712)을 통해 입력되는 신호를 기압 센서 드라이버(727)를 이용하여 처리할 수 있다. 일 실시예에 따른 프로세서(720)는 커넥터(710)에 제2 카드 타입 기압 센서(623)의 접속이 확인된 경우 제2 복수의 핀들(712)의 속성을 SD_CMD용 핀, SD_CLK용 핀 및/또는 SD_DAT용 핀에서 제2 카드 타입 기압 센서(623)용 핀들(예: GPIO111 핀, GPIO112 핀, 및 GPIO113 핀)로 지정하고, 제3 IO(SD IO) 방식을 제2 IO(예: GPIO) 방식으로 변경하고, 제2 복수의 핀들(711)을 통해 입력되는 신호를 기압 센서 드라이버(727)를 이용하여 처리하여 제2 카드 타입 기압 센서(623)에 대응된 기능을 수행할 수 있다. In operation 1140 , the processor 720 according to an embodiment applies a signal input through the second plurality of pins 712 in a second IO (eg, GPIO) method when the second card type barometric pressure sensor 623 is checked. It can be processed using the sensor driver 727 . When the connection of the second card type barometric pressure sensor 623 to the connector 710 is confirmed, the processor 720 according to an embodiment sets the properties of the second plurality of pins 712 to a pin for SD_CMD, a pin for SD_CLK, and / Or designate the SD_DAT pin to the pins for the second card type barometric pressure sensor 623 (eg GPIO111 pin, GPIO112 pin, and GPIO113 pin), and set the third IO (SD IO) method to the second IO (eg GPIO) method, and processing a signal input through the second plurality of pins 711 using the barometric pressure sensor driver 727 to perform a function corresponding to the second card type barometric pressure sensor 623 .
도 12는 일 실시예에 따른 MCU(micro controller unit) 타입 기압 센서의 구성을 나타낸 도면이다.12 is a diagram illustrating a configuration of a micro controller unit (MCU) type barometric pressure sensor according to an exemplary embodiment.
도 12를 참조하면, 일 실시예에 따른 MCU 타입 기압 센서(1215)는 제1카드(예: SIM 카드) 타입 또는 제2 카드(예: micro SD 카드) 타입일 수 있다. 예를 들면, 제1 카드 타입으로 구현된 경우 전자 장치(예: 도 1의 전자 장치, 도 2의 전자 장치(201), 또는 도 7의 전자 장치(701)의 트레이 구조(예: 도 3의 트레이 구조(305))의 제1 수용 공간(예 도 3의 제1 수용 공간(353))에 수용될 수 있고, 제2 카드 타입으로 구현된 경우 제2 수용 공간(353)에 수용될 수 있다.Referring to FIG. 12 , the MCU-type barometric pressure sensor 1215 according to an embodiment may be a first card (eg, SIM card) type or a second card (eg, micro SD card) type. For example, when implemented in the first card type, the tray structure (eg, the electronic device of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 701 of FIG. 7 ) (eg, the electronic device of FIG. 3 ) It may be accommodated in the first accommodating space (eg, the first accommodating space 353 of FIG. 3 ) of the tray structure 305 , and may be accommodated in the second accommodating space 353 when implemented as a second card type. .
일 실시예에 따른 MCU 타입 기압 센서(1215)는 MCU(1210), 기압 센서(1220), 캐패시터 어레이(1230), 전원(1240), LED(light emitting diode)(1250)를 포함할 수 있다. The MCU-type barometric pressure sensor 1215 according to an embodiment may include an MCU 1210 , a barometric pressure sensor 1220 , a capacitor array 1230 , a power source 1240 , and a light emitting diode (LED) 1250 .
일 실시예에 따른 MCU(1210)는 펌웨어(firmware)를 포함할 수 있고 펌웨어에 기반하여 동작할 수 있다. 일 실시예에 따른 MCU(1210)는 MCU 타입 기압 센서(1215)가 전자 장치(701)의 트레이 구조(305)에 장착되어 전자 장치(701)에 삽입됨을 감지하거나 전자 장치(701)의 커넥터(710)에 접속됨을 감지한 것에 기반하여 기압 센서(1220)를 활성화(인에이블, 또는 작동)시킬 수 있다. 일 실시예에 따른 MCU(1210)는 기압 센서(1220)로부터 기압 센싱 결과에 기반하여 전자 장치(701)의 방수 기능 정상 여부를 확인할 수 있다. 예를 들면, MCU(1210)는 기압 센싱 결과값이 제1 값 미만인 경우 방수 기능이 정상적으로 동작하지 않는 것을 확인할 수 있다. 예를 들면 MCU(1110)는 기압 센싱 결과값이 제1 값 이상인 경우 방수 기능이 정상적으로 동작하는 것을 확인할 수 있다. 일 실시예에 따른 MCU(1210)는 방수 기능 정상인 경우 LED(1250)가 방수 기능 정상을 나타내도록 발광 제어할 수 있다(예: 녹색 LED 점등). 일 실시예에 따른 MCU(1210)는 방수 기능 정상이 아닌 경우 LED(1250)가 방수 기능 정상이 아님을 나타내도록 발광 제어할 수 있다(예: 적색 LED 점등). The MCU 1210 according to an embodiment may include firmware and may operate based on the firmware. The MCU 1210 according to an embodiment detects that the MCU-type barometric pressure sensor 1215 is mounted on the tray structure 305 of the electronic device 701 and is inserted into the electronic device 701, or a connector ( Based on sensing that the connection to the 710 is connected, the barometric pressure sensor 1220 may be activated (enabled, or operated). The MCU 1210 according to an embodiment may check whether the waterproof function of the electronic device 701 is normal based on the atmospheric pressure sensing result from the atmospheric pressure sensor 1220 . For example, when the atmospheric pressure sensing result value is less than the first value, the MCU 1210 may confirm that the waterproof function does not operate normally. For example, the MCU 1110 may confirm that the waterproof function normally operates when the atmospheric pressure sensing result value is equal to or greater than the first value. When the waterproof function is normal, the MCU 1210 according to an embodiment may control the light emission of the LED 1250 to indicate that the waterproof function is normal (eg, a green LED is turned on). When the waterproof function is not normal, the MCU 1210 according to an embodiment may control the light emission of the LED 1250 to indicate that the waterproof function is not normal (eg, turn on a red LED).
일 실시예에 따른 기압 센서(1220)는 기압을 센싱하고, 센싱 결과를 MCU(1210)에 전달할 수 있다. The air pressure sensor 1220 according to an embodiment may sense air pressure and transmit a sensing result to the MCU 1210 .
일 실시예에 따른 캐패시터 어레이(1230)는 전원(1240)의 전력(또는 전압, 또는 전류)가 MCU(1210), 기압 센서(1220), LED(1250)로 제공되도록 하기 위한 적어도 하나의 캐패시터들을 포함할 수 있다.The capacitor array 1230 according to an embodiment includes at least one capacitor for providing the power (or voltage, or current) of the power source 1240 to the MCU 1210 , the barometric pressure sensor 1220 , and the LED 1250 . may include
일 실시예에 따른 전원(1240)는 자체 보우 전력 또는 MCU 타입 기압 센서(1215)가 전자 장치(701)에 삽입 시 전자 장치(701)로부터 수신되는 전력(또는 전압, 또는 전류)을 MCU(1210), 기압 센서(1220), 캐패시터 어레이(1230), 및 LED(1250)에 제공할 수 있다.The power source 1240 according to an embodiment converts power (or voltage, or current) received from the electronic device 701 when the self-bow power or the MCU-type barometric pressure sensor 1215 is inserted into the electronic device 701 to the MCU 1210 . ), the barometric pressure sensor 1220 , the capacitor array 1230 , and the LED 1250 .
일 실시예에 따른 LED(1250)는 발광 다이오드를 포함하고, MCU(1210)의 제어에 기반하여 지정된 색상(예: 적색 또는 녹색)으로 발광 동작을 수행할 수 있다. The LED 1250 according to an embodiment includes a light emitting diode, and may perform a light emitting operation in a specified color (eg, red or green) based on the control of the MCU 1210 .
일 실시예에 따른 전자 장치(701)의 프로세서(720)는 MCU 타입 기압 센서(1215)의 접속을 확인하거나, MCU 타입 기압 센서(1215)의 접속 삽입 후, 전력 제공되도록 전력 관리 모듈(788)을 제어할 수 있다.The processor 720 of the electronic device 701 according to an embodiment checks the connection of the MCU-type barometric pressure sensor 1215 or the power management module 788 to provide power after the MCU-type barometric pressure sensor 1215 is connected and inserted. can be controlled.
일 실시예에 따른 MCU 타입 기압 센서(1215)는 사용자가 MCU 타입 기압 센서(1215)가 장착된 트레이 구조(305)를 전자 장치(701)에 삽입하고 일정 시간 지난 후 트레이 구조(305)를 배출시킬 시, MCU 타입 기압 센서(1215)의 LED(1250)의 발광 상태(예: 발광색, 적색, 또는 녹색)을 통해 전자 장치(701)의 방수 기능 정상 여부를 알 수 있도록 할 수 있다. In the MCU-type barometric pressure sensor 1215 according to an embodiment, the user inserts the tray structure 305 equipped with the MCU-type barometric pressure sensor 1215 into the electronic device 701 and discharges the tray structure 305 after a predetermined time elapses. In this case, it is possible to know whether the waterproof function of the electronic device 701 is normal through the light emission state (eg, light emission color, red, or green color) of the LED 1250 of the MCU-type barometric pressure sensor 1215 .
본 문서에 개시된 다양한 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나,""A, B 또는 C," "A, B 및 C 중 적어도 하나,"및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B," "A, B or C," "at least one of A, B and C," and "A , B, or C," each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예는 기기(machine)(예: 전자 장치(101))에 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, program 140) including instructions. For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of the one or more instructions stored from the storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be included in a computer program product and provided. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly or online between smartphones (eg smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.
다양한 실시예에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 커넥터의 제1 복수의 핀들에 제1 카드 타입 모듈의 접속 여부를 확인하는 동작, 상기 제1 카드 타입 모듈의 접속 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM인지 제1 카드 타입 기압 센서인지 확인하는 동작, 상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하는 동작, 및 상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하는 동작을 포함할 수 있다.According to various embodiments, in a non-volatile storage medium storing instructions, the instructions are configured to cause the at least one processor to perform at least one operation when the instructions are executed by the at least one processor. The operation may include checking whether the first card type module is connected to the first plurality of pins of the connector, and determining whether the first card type module is a first card type SIM based on the connection check of the first card type module. An operation of confirming whether it is a one-card type air pressure sensor, an operation of processing a first signal input through the first plurality of pins in a first IO method based on the identification of the first card type SIM, and the first card type air pressure and processing a second signal input through the first plurality of pins in a second IO method based on sensor confirmation.
그리고 본 명세서와 도면에 발명된 본 발명의 실시예들은 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 발명된 실시예들 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.And the embodiments of the present invention invented in the present specification and drawings are merely provided for specific examples to easily explain the technical contents according to the embodiments of the present invention and help the understanding of the embodiments of the present invention, and the scope of the embodiments of the present invention It is not intended to limit Therefore, in the scope of various embodiments of the present invention, in addition to the embodiments disclosed herein, all changes or modifications derived from the technical ideas of various embodiments of the present invention should be interpreted as being included in the scope of various embodiments of the present invention. do.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    오프닝을 포함하는 하우징;a housing including an opening;
    상기 하우징의 내부에 배치되고 제1 복수의 핀들을 포함하는 커넥터;a connector disposed inside the housing and including a first plurality of pins;
    상기 오프닝을 통해 상기 커넥터에 착탈 가능하게 장착되고, 제1 카드 타입 모듈을 수용하기 위한 제1 수용홈을 포함하는 트레이; 및 a tray detachably mounted to the connector through the opening and including a first accommodating groove for accommodating a first card type module; and
    상기 커넥터와 연결된 프로세서를 포함하고,a processor connected to the connector;
    상기 프로세서는 상기 제1 복수의 핀들 중 적어도 하나의 핀의 신호에 기반하여 상기 커넥터에 제1 카드 타입 모듈의 접속 여부를 확인하고,The processor determines whether a first card type module is connected to the connector based on a signal of at least one of the plurality of first pins,
    제1 카드 타입 모듈 접속이 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM(subscriber identification module) 인지 제1 카드 타입 기압 센서인지 확인하고, check whether the first card type module access is a first card type subscriber identification module (SIM) or a first card type barometric pressure sensor based on the confirmation;
    상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하고, 및Process a first signal input through the first plurality of pins in a first IO method based on the first card type SIM confirmation, and
    상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하도록 설정된 전자 장치.An electronic device configured to process a second signal input through the first plurality of pins in a second IO method based on the confirmation of the first card type barometric pressure sensor.
  2. 제1항에 있어서,According to claim 1,
    디스플레이를 더 포함하고,further comprising a display,
    상기 프로세서는, 상기 제1 카드 타입 기압 센서 확인에 기반하여 기압 센서 드라이버를 구동하고, 상기 기압 센서 드라이버를 이용하여 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하여 기압 정보를 획득하고, 상기 기압 정보를 기반으로 상기 전자 장치의 방수 기능 정상 여부를 확인하고, 및 상기 디스플레이에 상기 방수 기능 정상 여부를 표시하도록 설정된 전자 장치.The processor drives a barometric pressure sensor driver based on the first card type barometric pressure sensor confirmation, and processes a second signal input through the first plurality of pins using the barometric pressure sensor driver to obtain barometric pressure information, , an electronic device configured to determine whether the waterproof function of the electronic device is normal based on the atmospheric pressure information, and to display whether the waterproof function is normal on the display.
  3. 제1항에 있어서,According to claim 1,
    상기 제1 IO 방식은 SIM IO 방식을 포함하고,The first IO method includes a SIM IO method,
    상기 제2 IO 방식은 GPIO 방식을 포함하는 전자 장치.The second IO method is an electronic device including a GPIO method.
  4. 제1항에 있어서,According to claim 1,
    상기 프로세서는, 상기 제1 카드 타입 모듈 접속이 확인된 경우 제1 복수의 핀들을 통해 입력되는 신호를 상기 제1 IO 기반으로 처리하여 에러 여부를 확인하고, 에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM인 것으로 확인하고, 에러 발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM이 아닌 것으로 확인하도록 설정된 전자 장치.When the first card type module connection is confirmed, the processor processes signals input through a plurality of first pins based on the first IO to check whether there is an error, and when no error occurs, the connected first card An electronic device configured to confirm that the type module is the first card type SIM, and confirm that the connected first card type module is not the first card type SIM when an error occurs.
  5. 제4항에 있어서,5. The method of claim 4,
    상기 프로세서는, 상기 에러 발생 시 상기 제1 복수의 핀들을 통해 입력되는 신호를 상기 제2 IO 기반의 I2C Emulation 기법을 통해 처리하고, 처리 결과에 기반하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서인지 확인하도록 설정된 전자 장치.When the error occurs, the processor processes the signals input through the first plurality of pins through the second IO-based I2C emulation technique, and based on the processing result, the connected first card type module performs the first Electronic device set up to check if it is a card type barometric pressure sensor.
  6. 제1항에 있어서,According to claim 1,
    상기 제1 복수의 핀들은 제1 핀, 제2 핀, 및 제3 핀을 포함하고, The first plurality of pins include a first pin, a second pin, and a third pin,
    상기 프로세서는 상기 제1 카드 모듈의 접속에 기반하여 상기 제1 핀을 통하여 상기 제1 카드 타입 모듈에 리셋 신호를 전송하고, 상기 제2 핀을 통하여 상기 제1 카드 타입 모듈에 클럭을 제공하고, 상기 제 3핀을 통하여 상기 제1 카드 타입 모듈로 데이터를 전송하도록 설정된 전자 장치.the processor transmits a reset signal to the first card type module through the first pin based on the connection of the first card module, and provides a clock to the first card type module through the second pin; An electronic device configured to transmit data to the first card type module through the third pin.
  7. 제1항에 있어서,According to claim 1,
    상기 커넥터는 제2 복수의 핀들을 더 포함하고,The connector further comprises a second plurality of pins,
    상기 트레이는 제2 카드타입 모듈을 수용하기 위한 제2 수용홈을 더 포함하고, The tray further includes a second receiving groove for accommodating a second card type module,
    상기 프로세서는 상기 제2 복수의 핀들 중 적어도 하나의 핀의 신호에 기반하여 상기 커넥터에 제2 카드 타입 모듈의 접속 여부를 확인하고,The processor determines whether a second card type module is connected to the connector based on a signal of at least one pin among the plurality of second pins,
    제2 카드 타입 모듈 접속이 확인에 기반하여 상기 제2 카드 타입 모듈이 제2 카드 타입 메모리인지 제2 카드 타입 기압 센서인지 확인하고, check whether the second card type module is a second card type memory or a second card type air pressure sensor based on the second card type module access confirmation;
    상기 제2 카드 타입 메모리 확인에 기반하여 제3 IO 방식으로 상기 제2 복수의 핀들을 통해 입력되는 제3 신호를 처리하고, 및Process a third signal input through the second plurality of pins in a third IO method based on the second card type memory check, and
    상기 제2 카드 타입 기압 센서 확인에 기반하여 상기 제2 IO 방식으로 상기 제2 복수의 핀들을 통해 입력되는 제4 신호를 처리하도록 설정된 전자 장치.An electronic device configured to process a fourth signal input through the second plurality of pins in the second IO method based on the confirmation of the second card type barometric pressure sensor.
  8. 제7항에 있어서,8. The method of claim 7,
    상기 제3 IO 방식은 SD IO 방식을 포함하는 전자 장치.The third IO method is an electronic device including an SD IO method.
  9. 제7항에 있어서,8. The method of claim 7,
    상기 제2 카드 타입 메모리는 micro SD 카드 메모리를 포함하고,The second card type memory includes a micro SD card memory,
    상기 제2 카드 타입 기압 센서는 micro SD 카드 형태의 기압 센서를 포함하는 전자 장치.The second card type air pressure sensor is an electronic device including a micro SD card type air pressure sensor.
  10. 제7항에 있어서,8. The method of claim 7,
    상기 제2 복수의 핀들은 제4 핀, 제5 핀, 및 제6 핀을 포함하고, The second plurality of pins include a fourth pin, a fifth pin, and a sixth pin,
    상기 프로세서는 상기 제2 카드 타입 모듈의 접속에 기반하여 상기 제4 핀을 통하여 상기 제2 카드 타입 모듈에 명령어를 제공하고, 상기 제5 핀을 통하여 상기 제2 카드 타입 모듈에 클럭을 제공하고, 상기 제 6핀을 통하여 상기 제2 카드 타입 모듈에 데이터를 전송하도록 설정된 전자 장치.the processor provides a command to the second card type module through the fourth pin based on the connection of the second card type module, and provides a clock to the second card type module through the fifth pin; An electronic device configured to transmit data to the second card type module through the sixth pin.
  11. 전자 장치에서 카드 타입 기압 센서 이용 방법에 있어서,A method of using a card type barometric pressure sensor in an electronic device, the method comprising:
    상기 전자 장치의 하우징의 내부에 배치된 커넥터의 제1 복수의 핀들에 제1 카드 타입 모듈의 접속 여부를 확인하는 동작;checking whether a first card type module is connected to a plurality of first pins of a connector disposed inside a housing of the electronic device;
    상기 제1 카드 타입 모듈의 접속 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM인지 제1 카드 타입 기압 센서인지 확인하는 동작; checking whether the first card type module is a first card type SIM or a first card type air pressure sensor based on the connection confirmation of the first card type module;
    상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하는 동작; 및processing a first signal input through the first plurality of pins in a first IO method based on the first card type SIM confirmation; and
    상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하는 동작을 포함하는 방법.and processing a second signal input through the first plurality of pins in a second IO method based on the confirmation of the first card type barometric pressure sensor.
  12. 제11항에 있어서,12. The method of claim 11,
    상기 제1 카드 타입 기압 센서 확인에 기반하여 기압 센서 드라이버를 구동시키는 동작;driving an air pressure sensor driver based on the first card type air pressure sensor confirmation;
    상기 기압 센서 드라이버를 이용하여 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하여 기압 정보를 획득하는 동작;obtaining barometric pressure information by processing a second signal input through the first plurality of pins using the barometric pressure sensor driver;
    상기 기압 정보를 기반으로 상기 전자 장치의 방수 기능 정상 여부를 확인하는 동작; 및checking whether the waterproof function of the electronic device is normal based on the barometric pressure information; and
    상기 전자 장치의 디스플레이에 상기 방수 기능 정상 여부를 표시하는 동작을 포함하는 방법.and displaying whether the waterproof function is normal on a display of the electronic device.
  13. 제11항에 있어서,12. The method of claim 11,
    상기 제1 IO 방식은 SIM IO 방식을 포함하고,The first IO method includes a SIM IO method,
    상기 제2 IO 방식은 GPIO 방식을 포함하는 방법.The second IO method includes a GPIO method.
  14. 제11항에 있어서,12. The method of claim 11,
    상기 제1 카드 타입 모듈 접속이 확인된 경우 상기 제1 복수의 핀들을 통해 입력되는 신호를 상기 제1 IO 기반으로 처리하여 에러 여부를 확인하는 동작; checking whether an error exists by processing signals input through the first plurality of pins based on the first IO when the first card type module connection is confirmed;
    에러 미발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM인 것으로 확인하는 동작; 및confirming that the connected first card type module is the first card type SIM when no error occurs; and
    에러 발생 시 상기 접속된 제1 카드 타입 모듈이 상기 제1 카드 타입 SIM이 아닌 것으로 확인하는 동작; 및confirming that the connected first card type module is not the first card type SIM when an error occurs; and
    상기 에러 발생 시 상기 제1 복수의 핀들을 통해 입력되는 신호를 상기 제2 IO 기반의 I2C Emulation 기법을 통해 처리하고, 처리 결과에 기반하여 상기 접속된 제1 카드 타입 모듈이 제1 카드 타입 기압 센서인지 확인하는 동작을 포함하는 방법.When the error occurs, the signal input through the first plurality of pins is processed through the second IO-based I2C emulation technique, and the connected first card type module is a first card type barometric pressure sensor based on the processing result A method that includes an action to confirm that it is.
  15. 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, A non-volatile storage medium having stored thereon instructions, wherein the instructions are configured to cause the at least one processor to perform at least one operation when executed by the at least one processor, the at least one operation comprising:
    커넥터의 제1 복수의 핀들에 제1 카드 타입 모듈의 접속 여부를 확인하는 동작;checking whether the first card type module is connected to the first plurality of pins of the connector;
    상기 제1 카드 타입 모듈의 접속 확인에 기반하여 상기 제1 카드 타입 모듈이 제1 카드 타입 SIM인지 제1 카드 타입 기압 센서인지 확인하는 동작; checking whether the first card type module is a first card type SIM or a first card type air pressure sensor based on the connection confirmation of the first card type module;
    상기 제1 카드 타입 SIM 확인에 기반하여 제1 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제1 신호를 처리하는 동작; 및processing a first signal input through the first plurality of pins in a first IO method based on the first card type SIM confirmation; and
    상기 제1 카드 타입 기압 센서 확인에 기반하여 제2 IO 방식으로 상기 제1 복수의 핀들을 통해 입력되는 제2 신호를 처리하는 동작을 포함하는 저장 매체.and processing a second signal input through the first plurality of pins in a second IO method based on the confirmation of the first card type barometric pressure sensor.
PCT/KR2022/002522 2021-03-12 2022-02-21 Electronic device and method for using card-type barometric pressure sensor in electronic device WO2022191468A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210032884A KR20220128170A (en) 2021-03-12 2021-03-12 Electronic device and method for using card type barometric sensor in the electronic device
KR10-2021-0032884 2021-03-12

Publications (1)

Publication Number Publication Date
WO2022191468A1 true WO2022191468A1 (en) 2022-09-15

Family

ID=83226878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/002522 WO2022191468A1 (en) 2021-03-12 2022-02-21 Electronic device and method for using card-type barometric pressure sensor in electronic device

Country Status (2)

Country Link
KR (1) KR20220128170A (en)
WO (1) WO2022191468A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170019617A (en) * 2015-08-12 2017-02-22 삼성전자주식회사 Apparatus and method for interfacing with accessory
KR20180018196A (en) * 2016-08-12 2018-02-21 삼성전자주식회사 Electronic apparatus and operating method thereof
KR20190046176A (en) * 2017-10-25 2019-05-07 삼성전자주식회사 The Electronic Device including the exchangeable Sensor
US20200366782A1 (en) * 2019-05-15 2020-11-19 AI Nose Corporation Wireless communication device and subscriber identity module card in the wireless communication device
CN112018534A (en) * 2019-05-31 2020-12-01 北京小米移动软件有限公司 Terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170019617A (en) * 2015-08-12 2017-02-22 삼성전자주식회사 Apparatus and method for interfacing with accessory
KR20180018196A (en) * 2016-08-12 2018-02-21 삼성전자주식회사 Electronic apparatus and operating method thereof
KR20190046176A (en) * 2017-10-25 2019-05-07 삼성전자주식회사 The Electronic Device including the exchangeable Sensor
US20200366782A1 (en) * 2019-05-15 2020-11-19 AI Nose Corporation Wireless communication device and subscriber identity module card in the wireless communication device
CN112018534A (en) * 2019-05-31 2020-12-01 北京小米移动软件有限公司 Terminal device

Also Published As

Publication number Publication date
KR20220128170A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
WO2020171448A1 (en) Electronic component arrangement structure and electronic device including same
WO2022071736A1 (en) Electronic apparatus comprising flexible display
WO2022139376A1 (en) Electronic device including coil antenna
WO2022014988A1 (en) Electronic device and power control method
WO2023022567A1 (en) Foldable electronic device and method for controlling foldable electronic device using digital hall sensor
WO2022114864A1 (en) Electronic device comprising connector
WO2022050620A1 (en) Detection circuit, and electronic device comprising same
WO2022191468A1 (en) Electronic device and method for using card-type barometric pressure sensor in electronic device
WO2023163399A1 (en) Data communication method, and electronic device for performing same
WO2022154317A1 (en) Contact structure of camera module and electronic apparatus comprising same
WO2021256742A1 (en) Electronic device comprising printed circuit board
WO2023058873A1 (en) Electronic device comprising antenna
WO2022098003A1 (en) Electronic device comprising plurality of electric objects
WO2022075632A1 (en) Electronic device comprising antenna
WO2022149955A1 (en) Electronic device comprising connector
WO2023287000A1 (en) Electronic device including fingerprint sensor
WO2022065807A1 (en) Contact structure of camera module and electronic device comprising same
WO2024025117A1 (en) Connector including ground structure, and electronic device comprising same
WO2022250349A1 (en) Electronic apparatus including shielding member
WO2023014205A1 (en) Cover of electronic device
WO2022103108A1 (en) Electronic device and method for detecting touch input of electronic device
WO2022154352A1 (en) Antenna structure and electronic device comprising same
WO2023068582A1 (en) Wireless charging coil and electronic device comprising same
WO2023054985A1 (en) Electronic device having antenna structure
WO2024005331A1 (en) Circuit board and electronic device comprising same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22767364

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22767364

Country of ref document: EP

Kind code of ref document: A1