Go to the source code of this file.
Functions | |
__inline__ unsigned short | get_timer_counter (void) |
__inline__ void | set_timer_counter (unsigned short value) |
__inline__ void | cop_reset (void) |
__inline__ void | cop_optional_reset (void) |
__inline__ void | timer_acknowledge (void) |
__inline__ void | timer_initialize_rate (unsigned char divisor) |
|
Definition at line 173 of file sys/ports.h. References cop_reset().
00174 { 00175 #if defined(M6811_USE_COP) && M6811_USE_COP == 1 00176 cop_reset (); 00177 #endif 00178 } |
Here is the call graph for this function:
|
Definition at line 166 of file sys/ports.h. Referenced by cop_optional_reset().
00167 { 00168 _io_ports[M6812_COPRST] = 0x55; 00169 _io_ports[M6812_COPRST] = 0xAA; 00170 } |
|
Definition at line 40 of file sys/ports.h.
00041 { 00042 return ((unsigned volatile short*) &_io_ports[M6812_TCNT])[0]; 00043 } |
|
Definition at line 46 of file sys/ports.h.
00047 { 00048 ((unsigned volatile short*) &_io_ports[M6812_TCNT])[0] = value; 00049 } |
|
Definition at line 182 of file sys/ports.h.
00183 { 00184 _io_ports[M6812_RTIFLG] = M6812_RTIF; 00185 } |
|
Definition at line 189 of file sys/ports.h.
00190 { 00191 _io_ports[M6812_RTICTL] = divisor; 00192 } |