Claims (4)
적어도 인터럽트를 처리하고 데이타의 입출력을 제어하며 주변 하드웨어들을 제어하는 마이크로 콘트롤러(10)와, 상기 마이크로 콘트롤러(10)의 요구에 응답하여 전송매체로 데이타를 전달하거나 상기 전송매체로부터 수신된 신호를 상기 마이크로 콘트롤러(10)가 처리할 수있는 데이타로 변환시키는 미니맵 전송매체 억세스 제어부 계층 및 미니맵 전송매체 억세스 물리계층의 기능들을 수행하는 토큰버스 제어기(16) 및 모뎀(24)과, 상기 마이크로 콘트롤러(10)와 상기 토큰버스 제어기(16)가 공유하고 시스템 운영시 필요한 데이타가 저장되는 시스템 램(20)을 포함하는 미니맵 네트워크 시스템에서 도착통지 필요 데이타 프레임의 수신에 따른 인터럽트의 발생 여부를 확인하여 수신된 상기 도착통지 필요 데이타 프레임에대한 도착통지 프레임을 구성하여 전송하는 방법에 있어서; 도착통지 프레임을 구성하는데 요구되는 초기화를 위한 제1단계와, 토큰버스 제어기 초기화 테이블의 인터럽트 마스크에 초기값을 설정하는 제2단계와; 상기 토큰버스 제어기 초기화테이블의 다른 부분 값들을 설정하는 제3단계와; 상기 토큰 버스 제어기 초기화 테이블에 따라 상기 토큰버스 제어기(16)를 초기화시킨 후, 상기 토큰버스 제어기(16)가 미니맵 규격에 맞게 동작하도록 상기 토큰버스 제어기(16)의 동작모드를비잠정 응답모드로 설정하여, 상기 토큰버스 제어기(16)가 정상적인 송수신 서비스를 수행하도록 하는 제4단계와; 상기마이크로 콘트롤러(10)가 상기 토큰버스 제어기(16)의 고유 메모리 영역으로부터 인터럽트 상태워드를 읽어들인 후, 상기토큰버스 제어기916)가 상기 도착통지 필요 데이타 프레임을 수신하였는지 여부를 점검하기 위하여 RXRWR비트가 "1"로세트되었는지 판별하는 제5단계와; 상기 RXRWR비트가 "1"로 세트된 경우에는 상기 토큰버스 제어기(16)의 상기 고유 메모리영역에서 수신 데이타를 포인터 값을 읽어들여, 수신된 데이타의 적합성을 검사하고, 적합성 검사의 결과에 따라 수신상태 정보를 상기 도착통지 프레임에 기록한 후, 상기 토큰버스 제어기(16)에게 응답 준비 완료 명령을 전달하는 제6단계 및; 상기 RXRWR비트가 "1"로 세트되지 않은 경우 혹은 상기 제6단계가 완료된 경우에는 정상상태에서 동작하는 인터럽트 상태 처리 타스크에게 인터럽트 상태워드를 메세지로 전달하고 상기 토큰버스 제어기(16)의 상기 고유 메모리 영역의 상기 인터럽트 상태워드를 "0"으로 클리어시킨 후 인터럽트 서비스를 종료하는 제7단계를 포함하는 것을 특징으로하는 미니맵 네트워크의 데이타 링크 계층에서 도착통지 전송 방법.A microcontroller 10 that handles at least an interrupt, controls input and output of data, and controls peripheral hardware, and transmits data to or transmits a signal received from the transmission medium in response to a request of the microcontroller 10; A token controller 16 and a modem 24 which perform functions of the minimap transmission medium access control layer and the minimap transmission medium access physical layer, which the microcontroller 10 converts into data that can be processed; In the minimap network system including the system RAM 20, which is shared by the token bus controller 16 and the token bus controller 16, and stores the data required for operating the system, it is determined whether an interrupt occurs according to the reception of the arrival notification required data frame. Configure an arrival notification frame for the received arrival notification required data frame A method for transmission; A first step for initialization required to construct an arrival notification frame, and a second step of setting an initial value in an interrupt mask of the token bus controller initialization table; Setting other partial values of the token bus controller initialization table; After initializing the token bus controller 16 according to the token bus controller initialization table, the operation mode of the token bus controller 16 is set in a non-temporary response mode so that the token bus controller 16 operates according to the minimap standard. A fourth step of allowing the token bus controller 16 to perform a normal transceiving service; RXRWR bit to check whether the token bus controller 916 received the arrival notification required data frame after the microcontroller 10 reads an interrupt status word from the unique memory area of the token bus controller 16. A fifth step of determining whether is set to " 1 "; When the RXRWR bit is set to '1', the pointer value is read from the intrinsic memory area of the token bus controller 16 to check the suitability of the received data and receive the data according to the result of the conformance check. A sixth step of recording status information in the arrival notification frame and delivering a response ready command to the token bus controller 16; When the RXRWR bit is not set to '1' or when the sixth step is completed, the interrupt status word is transmitted as a message to an interrupt status processing task operating in a normal state and the unique memory of the token bus controller 16 is transmitted. And a seventh step of terminating the interrupt service after clearing the interrupt status word of the region to " 0 ".
제1항에 있어서, 상기 제1단계는 상기 도착통지 프레임의 구성에 필요한 상기 토큰버스 제어기(16)의 상기 고유 메모리영역을 위하여 상기 시스템 램(20)을 할당하는 단계와, 상기 도착통지 프레임 중 미리 작성 가능한 부분을 기록하는 단계및, 상기 토큰버스 제어기 초기화 테이블내의 오프세트 84H와 88H의 위치에 상기 도착통지 프레임의 주소를 기록하는 단계를 포함하는 것을 특징으로 하는 미니맵 네트워크의 데이타 링크 계층에서 도착통지 전송방법.2. The method of claim 1, wherein the first step includes allocating the system RAM 20 for the unique memory area of the token bus controller 16 necessary for constructing the arrival notification frame. Recording a pre-writable portion, and recording the address of the arrival notification frame at positions 84H and 88H in the token bus controller initialization table. How to send arrival notification.
제1항의 제2단계에 있어서, 상기 도착통지 필요 데이타 프레임 수신시와 토큰전달시에만 인터럽트가 발생되도록 상기 인터럽트 마스크의 초기값을 설정하는 것을 특징으로하는 미니맵 네트워크의 데이타 링크 계층에서 도착통지 전송방법.The method of claim 2, wherein the initial value of the interrupt mask is set such that an interrupt is generated only upon receipt of the arrival notification required data frame and upon token delivery. Way.
제1항 또는 제3항에 있어서, 상기 토큰 버스 제어기 초기화 테이블의 상기 인터럽트 마스크에서 RXRWR 비트와 TP비트를 "1"로 세트시키는 것을 특징으로 하는 미니맵 네트워크의 데이타 링크 계층에서 도착통지 전송방법.4. The method of claim 1 or 3, wherein the RXRWR bit and the TP bit are set to '1' in the interrupt mask of the token bus controller initialization table.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.