The CCS compiler provides a lot of built-in functions to access and use the PIC microcontroller's peripherals. This makes it very easy for the users to configure and use the peripherals without going into in depth details of the registers associated with the functionality.
Examples:
D/A conversion: dac_write()
, setup_dac()
RTOS: rtos_await()
, rtos_msg_send()
, rtos_run()
, rtos_disable()
, rtos_overrun()
e.t.c
Non-volatile memory: erase_eeprom()
, read_external_memory()
, write_eeprom( )
e.t.c
Timers: get_timer_x()
, set_timerx()
, setup_timer_0()
e.t.c
Is it possible to somehow get the same functionality in the MPLABX IDE as well or shall I have to write my own library functions like the ones shown above by writing code that tampers with registers at low level? I am using the XC8 compiler.
The CCS C Compiler having these type of functions is the main reason why I have used it in the past. But now I want to move over to MPLAB.