Search
 


 

CCS Cコンパイラの特定機能

PCD ビルト-イン関数:

標準 C Char
atoi()
atol()
atof()
tolower()
toupper()
isalnum()
isalpha()
isamoung()
isdigit()
islower()
isspace()
isupper()
isxdigit()
iscntrl()
isgraph()
isprint()
ispunct()
itoa()
strlen()
strcpy()
strncpy()
strcpy()
strcmp()
stricmp()
strncmp()
strcat()
strstr()
strchr()
strrchr()
strtok()
strspn()
strcspn()
strpbrk()
strlwr()
strcoll()
sprintf()
strxfrm()
strerror()
stricmp()
strtod()
strncat()
strtol()
strtoul()

ディレイ
delay_cycles()
delay_us()
delay_ms()

キャプチャ / コンペア /
PWM
setup_capture()
get_capture()
set_compare_time()
set_pwm_duty()
setup_power_pwm()
setup_power_pwm_pins()
set_power_pwm_override()
set_power_pwm_duty()

プリ・プロセッサ・コントロール
sleep()
reset_cpu()
restart_cause()
disable_interrupts()
enable_interrupts()
ext_int_edge()
interrupt_active()
label_address()
setup_oscillator()
clear_interrupt()
getenv()
goto_address()

ビット操作
shift_right()
shift_left()
rotate_right()
rotate_left()
bit_clear()
bit_set()
bit_test()
bit_first()
bit_last()
_mul()
swap()

パラレル・マスター・ポート
new_pmp_overflow_input_output()
pmp_address()
pmp_input_full()
pmp_output_full()
pmp_overflow()
pmp_read()
pmp_write()
psp_input_full()
psp_overflow()
psp_read()
psp_write()
setup_pmp()
setup_psp()

標準 C メモリ
memset()
memcpy()
memchr()
memmove()
memcmp()
calloc()
free()
longjmp()
offsetof()
offsetofbit()
realloc()
setjmp()

RS232 I/O
getc()
putc()
gets()
puts()
printf()
kbhit()
assert()
fgetc()
fgets()
fprintf()
fputc()
fputs()
getch()
getchar()
perror()
putchar()
setup_uart()
setup_spi2()
spi_read2()
spi_write2()
spi_data_is_in2()

I2C I/O
i2c_start()
i2c_stop()
i2c_read()
i2c_write()
i2c_poll()
i2c_isr_state()
i2c_isr_saveaddr()

ディスクリート I/O
output_low()
output_high()
output_float()
output_bit()
input()
output_x()
input_x()
set_trix_x()
get_trisx()
input_state()
output_drive()
output_toggle()
set_pckup()

SPI 2 ワイヤ I/O
setup_spi()
spi_read()
spi_write()
spi_data_is_in()
setup_spi2()
spi_read2()
spi_write2()
spi_data_is_in2()
spi_xfer()

標準 C スペシャル
bsearch()
rand()
srand()
qsort()

Timers
setup_timer_x()
set_timer_x()
get_timer_x()
setup_counters()
setup_wdt()
restart_wdt()
set_timer_xy()
get_timer_xy()

CRC[巡回冗長検査]
crc_calc()
crc_init()
crc_psuedo_code()
help_crc()
setup_crc()

3軸直交エンコーダ・インターフェース
qei_get_count()
qei_set_count()
qei_status()
setup_qei()

標準 C Math
abs()
abs32()
acos()
asin()
atan()
atan2()
ceil()
cos()
cosh()
div()
exp()
fabs()
floor()
fmod()
frexp()
labs()
ldexp()
ldiv()
log()
log10()
modf()
pow()
pwr()
sin()
sinh()
sqrt()
tan()
tanh()

A/D 変換
setup_adc_ports()
setup_adc()
set_adc_channel()
read_adc()
setup_adc_ports2()
setup_adc2()
set_adc_channel2()
read_adc2()

電圧 Ref/比較
setup_vref()
setup_low_volt_detect()
setup_comparator()

内部 EEPROM
read_eeprom()
write_eeprom()
erase_program_memory()
read_rom_memory()
read_configuration_memory()
read_program_memory()
write_configuration_memory()
write_program_memory()

モータ PWM
get_motor_pwm_event()
set_motor_pwm_event()
setup_motor_pwm()
set-up_motor_pwm_duty()
setup_motor_unit()

リアル・タイム・クロック
rtc_alarm_read()
rtc_alarm_write()
rtc_read()
rtc_write()
setup_rtc()
setup_rtc_alarm()

RTOS
rtos_await()
rtos_disable()
rtos_enable()
rtos_msg_poll()
rtos_msg_read()
rtos_msg_send()
rtos_overrun()
rtos_run()
rtos_signal()
rtos_stats()
rtos_terminate()
rtos_wait()
rtos_yield()

注意: RTOSはウィンドウズ版のみでサポートされています。

ダイレクト・メモリー・アクセス
dma_start()
dma_status()
setup_dma()

DSP
TBD

DCI
TBD


PCD プリ-プロセッサ:

標準 C
#define
#else
#elif
#endif
#error
#if
#ifdef
#include
#pragma
#undef
#list
#nolist
#helif
#hifndef

関数クォリファイア
#inline
#int_default
#int_xxx
#recursive
#separate

デバイス仕様
#device chip
#fuses options
#id
#pin_select
#serialize
#type
#hexcomment

ビルト-イン・ライブラリー
#use delay
#use fast_io
#use fixed_io
#use i2c
#use rs232
#use spi
#use standard_io

メモリー制御
#asm
#bit
#build
#byte
#endasm
#fill_rom
#locate
#reserve
#rom
#zero_ram
#type
#bankx
#banky
#org

コンパイラ制御
#case
#opt
#module
#ignore_warnings

定義済み識別子
_data_
_device_
_file_
_line_
_pcd_
_time_
_filename_

リンカー
#import
#export
#build

RTOS
#use rtos
#task

注意: RTOSはウィンドウズ版のみでサポートされています。

 

標準 C 構文:

  • if, else, while, do, switch, case, for, return, goto, break, continue

  • ! ~ ++ -- + - , & |

  • * / % << >> ^ && || ?:

  • < <= > >= == !=

  • = += -= *= /= %= >>= <<= &= ^= |=

  • typedef, static, auto, const, enum, struct, union

  • 5つのサブ・スクリプトまでのアレイ

  • ストラクチャーとユニオンがネストされます。

  • ストラクチャー内でもカスタム・ビット・フィールド(1-8ビット)

  • ENUMurated タイプ

  • CONSTant バリアブル, アレイとストリング

  • フル関数パラメーター・サポート(any number)

  • C++リファレンス・パラメーターを一部サポート

 

MCUSpace.com - PIC® Development Tools Recognized Microchip 3rd Party Tool Provider

お問い合わせ | 登録商標 | 有限会社データダイナミクス

Copyright © 2008 CCS, Inc.