Clubcos  0.0.0
Clubcos - Clubc Operating System
 모두 데이타 구조 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 매크로 페이지들
timer.c 파일 참조
#include "timer.h"
#include "port.h"
#include "idt.h"
#include "gdt.h"
#include "interrupt.h"
#include "pic.h"
#include "terminal.h"
#include "task.h"
#include "memory_map.h"
#include "string.h"
#include "assert.h"
timer.c에 대한 include 의존 그래프

매크로

#define MS_TO_COUNT(ms)   (PIT_FREQUENCY * (ms) / 1000)
 

함수

void ckTimerInitialize (void)
 타이머를 초기화합니다. 더 자세히 ...
 
bool ckTimerSet (TimeOut *pTimeOut)
 타임아웃을 설정합니다. 더 자세히 ...
 
void ck_TimerIntHandler (InterruptContext *pContext)
 
void ckTimerBusyDirectWait_ms (uint32_t milli)
 인터럽트를 금지한 후 PIT 카운터를 읽어 지정된 시간동안 바쁜 대기를 수행합니다. 더 자세히 ...
 

변수

TimerStruct g_TimerStruct = { 0 }
 TimerStruct 입니다. 더 자세히 ...
 

상세한 설명

날짜
2014. 5. 5.
작성자
dlarudgus20

매크로 문서화

#define MS_TO_COUNT (   ms)    (PIT_FREQUENCY * (ms) / 1000)

함수 문서화

void ck_TimerIntHandler ( InterruptContext pContext)
void ckTimerBusyDirectWait_ms ( uint32_t  milli)

인터럽트를 금지한 후 PIT 카운터를 읽어 지정된 시간동안 바쁜 대기를 수행합니다.

매개변수
[in]milli기다릴 시간입니다. 단위는 ms입니다.
void ckTimerInitialize ( void  )

타이머를 초기화합니다.

bool ckTimerSet ( TimeOut pTimeOut)

타임아웃을 설정합니다.

매개변수
[in]pTimeOut설정할 타임아웃입니다.

변수 문서화

TimerStruct g_TimerStruct = { 0 }

TimerStruct 입니다.