0% found this document useful (0 votes)
28 views1 page

C Reference Manual - October 2005.108

This document is a reference manual for a C compiler that describes several functions. It details a clear_interrupt function that clears an interrupt flag for a specific level, excluding the global level. It is available on all devices and requires nothing. Examples show clearing the timer1 interrupt. It also references enable_interrupts and interrupt levels. Additional functions described include DELAY_CYCLES, which creates a delay of 1-255 instruction clocks, SIN() and related trigonometric functions, and documentation for COS() and COSH().

Uploaded by

diegoifg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views1 page

C Reference Manual - October 2005.108

This document is a reference manual for a C compiler that describes several functions. It details a clear_interrupt function that clears an interrupt flag for a specific level, excluding the global level. It is available on all devices and requires nothing. Examples show clearing the timer1 interrupt. It also references enable_interrupts and interrupt levels. Additional functions described include DELAY_CYCLES, which creates a delay of 1-255 instruction clocks, SIN() and related trigonometric functions, and documentation for COS() and COSH().

Uploaded by

diegoifg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

C Compiler Reference Manual

Function:

Clears the interrupt flag for the given level. This function
is designed for use with a specific interrupt, thus
eliminating the GLOBAL level as a possible parameter.

Availability:

All devices

Requires

Nothing

Examples:

clear_interrupt(int_timer1);

Example Files:

None

Also See:

enable_interrupts(), #INT

COS()
See:

SIN()

COSH()
See:

SIN()

DELAY_CYCLES()
Syntax:

delay_cycles (count)

Parameters:

count - a constant 1-255

Returns:

undefined

Function:

Creates code to perform a delay of the specified number of


instruction clocks (1-255). An instruction clock is equal to
four oscillator clocks.

96

You might also like