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

setRB6PPS(value)

Set the MCU register RB6PPS

setRB7PPS(value)

Set the MCU register RB7PPS

setCCP5CAP(value)

Set the MCU register CCP5CAP

setCCP5CON(value)

Set the MCU register CCP5CON

setCCPTMRS1(value)

Set the MCU register CCPTMRS

setCLCSEL2(value)

Set the MCU register CLCSEL2

setCLCSEL3(value)

Set the MCU register CLCSEL3

setCRCCON0(value)

Set the MCU register CRCCON0

setCRCCON1(value)

Set the MCU register CRCCON1

setCWG2STR(value)

Set the MCU register CWG2STR

setPIE8(value)

Set the MCU register PIE8

setT0CON0(value)

Set the MCU register T0CON0

setT0CON1(value)

Set the MCU register T0CON1

setT6AINPPS(value)

Set the MCU register T6AINPPS

setZCDCON(value)

Set the MCU register ZCDCON

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

setTXpower(level)

setRFpower(level)

softReset()

reset() C commnad

debug(wValue)

breakpoint (wValue)