PreviousNext
Table of macros
Help > Table of macros

reset()

Restart MCU, IQRF OS and application SW

setWDTon()

Enable Watchdog

setWDToff()

Disable Watchdog

setWDTon_xxxx()

Enable Watchdog with wake-up after specifid time

sleepWOC()

TR Sleep with wake-up on change at dedicated TR pin enabled

setIOCBN()

Set the MCU flag IOCBN4

clearIOCBN()

Clear the MCU flag IOCBN4

clearIOCF()

Clear the MCU flag IOCBF4

breakpoint(wValue)

Call debug with specified value in w register

bit buttonPressed

Read level at dedicated pin

unlockPPS()

Unlock the MCU PPS module

lockPPS()

Lock the MCU PPS module

Write to restricted registers

setADPCH(channel)

Write to the MCU register ADPCH

setTX1STA(value)

Set the MCU register TX1STA

setBAUD1CON(value)

Set the MCU register BAUD1CON

setCCPTMRS0(value)

Set the MCU register CCPTMRS0

toggleLEDR()

Toggle red LED

toggleLEDG()

Toggle green LED

eEEPROM_TempSensorOn()

Enable serial EEPROM and temperature sensor

eEEPROM_TempSensorOff()

Disable serial EEPROM and temperature sensor

writeToRAM(address, data)

Write one byte

uns8 setFSR0(buffer)

uns8 setFSR1(buffer)

uns8 setFSR01(buffer0, buffer1)

appInfo()

Copy info about the application from EEPROM to bufferINFO

setFRCparams()

Copy info about the application from EEPROM to bufferINFO