Macro Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
B
 BAUD_TO_UBRR
 BV
C
 CYCLES_TO_MUSECS
I
 I2C_IS_ACTIVE
 I2C_IS_READY
M
 MCP23018_MAX_BANK
 MCP23018_MAX_PAIR
 MCP23018_REG_MASK
 MCP4X_P0
 MCP4X_P1
 MEMMON_MAKE_CPTR
 MEMMON_MAKE_PTR
 MEMMON_MAX_SIZE
 MUSECS_TO_CYCLES
S
 SCHED_CATFLAG
 SCHED_CLOCK_PRESCALE
 SCHED_CLOCK_PRESCALE_LOG
 SCHED_FIND
 SCHED_MAX_TASKS
 SCHED_TICK_MUSECS
 SCHED_TIME_LH
 SCHED_TIME_MAX
 SCHED_TIME_MAX_MS
 SCHED_TIME_MAX_MUSECS
 SCHED_TIME_MAX_TICKS
 SCHED_TIME_MS
 SCHED_TIME_MUSECS
 SCHED_TIME_TO_MS
 SCHED_TIME_TO_MUSECS
 SCHED_TIME_TO_TICKS
 SCHED_TIME_ZERO
T
 TASK_SLEEP_BIT
 TASK_SLEEP_BIT_SET
 TASK_ST_CAT
 TASK_ST_CAT_MASK
 TASK_ST_GARBAGE
 TASK_ST_GET_CAT
 TASK_ST_GET_CATFLAG
 TASK_ST_GET_NUM
 TASK_ST_GET_SLP
 TASK_ST_MAKE
 TASK_ST_NUM
 TASK_ST_NUM_CAT_MASK
 TASK_ST_NUM_MASK
 TASK_ST_SET_CAT
 TASK_ST_SET_NUM
 TBOUNCER_A_FALLING
 TBOUNCER_A_RISING
 TBOUNCER_ALL
 TBOUNCER_B_FALLING
 TBOUNCER_B_RISING
 TBOUNCER_C_FALLING
 TBOUNCER_C_RISING
 TBOUNCER_D_FALLING
 TBOUNCER_D_RISING
 TBOUNCER_INIT
 TBOUNCER_NEQ_COUNT_BITS
 TBOUNCER_NEQ_FOR_UPDATE
 TBOUNCER_NEQ_FOR_UPDATE_MAX
 TBOUNCER_TICK_COUNT_BITS
 TBOUNCER_TICKS_FOR_UPDATE
 TBOUNCER_TICKS_FOR_UPDATE_MAX
 TTLV_BROADCAST_ADR
 TTLV_CHECK_INM_RESULT
 TTLV_CHECK_REG_READ
 TTLV_CHECK_REG_RW_EXCH
 TTLV_CHECK_REG_TOGGLE
 TTLV_CHECK_REG_WR_EXCH
 TTLV_CHECK_REG_WRITE
 TTLV_CHECK_REGPAIR_READ
 TTLV_CHECK_REGPAIR_RW_EXCH
 TTLV_CHECK_REGPAIR_TOGGLE
 TTLV_CHECK_REGPAIR_WR_EXCH
 TTLV_CHECK_REGPAIR_WRITE
 TTLV_CHECK_RESULT
 TTLV_CHECK_TL
 TTLV_CPTR
 TTLV_DATA_CPTR
 TTLV_DATA_PTR
 TTLV_HAS_HEADER
 TTLV_HAS_MESSAGE
 TTLV_HEADER_BYTES_INM
 TTLV_HEADER_BYTES_TLV
 TTLV_IS_ERROR
 TTLV_LOCAL_ADR
 TTLV_MAX_LARGE_MESSAGE_LEN
 TTLV_MAX_LARGE_TYPE_NUM
 TTLV_MAX_LEN_INM
 TTLV_MAX_LEN_TLV
 TTLV_MAX_MESSAGE_ADR
 TTLV_MAX_MESSAGE_ID
 TTLV_MAX_MESSAGE_LEN
 TTLV_MAX_TYPE_NUM
 TTLV_MIN_LARGE_TYPE_NUM
 TTLV_MIN_TYPE_NUM
 TTLV_PROTOCOL_TYPE_NUM
 TTLV_PTR
 TTLV_RECV_BFR_SIZE
 TTLV_STD_REG_RW_EXCH
 TTLV_STD_REG_TOGGLE
 TTLV_STD_REG_WR_EXCH
 TTLV_STD_REGPAIR_READ
 TTLV_STD_REGPAIR_RW_EXCH
 TTLV_STD_REGPAIR_TOGGLE
 TTLV_STD_REGPAIR_WR_EXCH
 TTLV_STD_REGPAIR_WRITE
 TTLV_XMIT_BFR_SIZE
W
 WATCHDOG_DISABLE_ON_MCU_RESET
 WATCHDOG_DISABLE_ON_MCU_RESET_SAVE_FLAGS
Converts a baud rate to an UBRR register value that can be passed to ttlv_init.
Utility macro that maps a bit number to an integer value with (only) the corresponding bit set to 1.
Converts a given number of CPU clock cycles to the duration in microseconds of that many clock cycles at the current clock frequency (given by the F_CPU macro).
Evaluates to a true value if and only if the I2C module is busy with an ongoing operation.
Evaluates to a true value if and only if the I2C module is initialized and ready to begin a new operation.
The largest valid register bank address.
The largest valid register pair address.
Bit mask for the valid bits of an MCP23018 register address.
Numeric identifier of the P0 potentiometer in an MCP4x device.
Numeric identifier of the P1 potentiometer in an MCP4x device.
Converts a pointer to an arbitrary type into a pointer-to-constant that is compatible with the memory monitor API (a memmon_cptr), without triggering compiler warnings.
Converts a pointer to an arbitrary type into a pointer that is compatible with the memory monitor API (a memmon_ptr), without triggering compiler warnings.
Maximum size in bytes of a monitored memory location.
Converts a duration in microseconds to the number of CPU clock cycles performed during that time at the current clock frequency (given by the F_CPU macro).
Maps task category numbers to the corresponding bit flags.
The CPU clock prescale value of the timer that the scheduler uses to keep track of elapsed time.
The two-logarithm of the CPU clock prescale value of the timer that the scheduler uses to keep track of elapsed time.
Deprecated, kept for backward compatibility.
The maximum number of tasks that can be scheduled simultaneously.
The duration in microseconds of a scheduler tick.
Constructs a sched_time value representing the given duration in smallticks and bigticks.
A sched_time value representing the longest representable duration.
The longest duration representable by a sched_time, in milliseconds (rounded down).
The longest duration representable by a sched_time, in microseconds.
The largest number of smallticks storable in a sched_time, including those stored as bigticks.
Constructs a sched_time value representing the given duration in milliseconds.
Constructs a sched_time value representing the given duration in microseconds.
Evaluates to the duration in milliseconds represented by a given sched_time value.
Evaluates to the duration in microseconds represented by a given sched_time value.
Evaluates to the total number of smallticks stored in a given sched_time value.
A sched_time value representing a zero duration (no time at all).
Integer value with (only) the TCSB sleep bit (see sched_task) set.
True if and only if the sleep bit is set in the specified TCSB value (see sched_task).
Constructs a TCSB value (see sched_task) with the given category number set (the instance number and sleep bit are zero).
Bit mask for the task category number in a TCSB (see sched_task).
This is a special TCSB value (see sched_task) that marks a task as “garbage” when assigned.
Extracts the category number from a TCSB value (see sched_task).
Gets the category number from a TCSB value (see sched_task) as a sched_catflags value.
Extracts the instance number from a TCSB value (see sched_task).
Extracts the sleep bit from a TCSB value (see sched_task).
Convenience macro for constructing a complete TSCB value (see sched_task).
Constructs a TCSB value (see sched_task) with the given instance number set (the category number and sleep bit are zero).
Bit mask for the task instance and category numbers in a TCSB (see sched_task).
Bit mask for the task instance number in a TCSB (see sched_task).
Replaces the category number in a TCSB value (see sched_task).
Replaces the instance number in a TCSB value (see sched_task).
Falling edge flags for I/O port A.
Rising edge flags for I/O port A.
This value can be given to the pin change notification mask arguments of tbouncer_init to indicate that all the pins of the corresponding I/O port should trigger pin change notifications.
Falling edge flags for I/O port B.
Rising edge flags for I/O port B.
Falling edge flags for I/O port C.
Rising edge flags for I/O port C.
Falling edge flags for I/O port D.
Rising edge flags for I/O port D.
Wrapper macro for tbouncer_init.
The number of bits in the tick count field of an I/O pin’s debouncing state variable.
The number of consecutive pin input values (as obtained at each debouncer tick) different from the current debounced value that are required to update the debounced value.
Maximum allowed value of TBOUNCER_NEQ_FOR_UPDATE.
The number of bits in the tick count field of an I/O pin’s debouncing state variable.
The number of debouncer ticks that must pass after a pin value update before the debouncer starts counting consecutive pin input values different from the current debounced value.
Maximum allowed value of TBOUNCER_TICKS_FOR_UPDATE.
Special INM address used for broadcast messages.
True if and only if the current ttlv_recv_header matches an INM_RESULT message with a ttlv_msg_inm_result payload.
True if and only if the current ttlv_recv_header matches a REG_READ message with a ttlv_reg_index payload.
True if and only if the current ttlv_recv_header matches a REG_RW_EXCH message with a ttlv_msg_reg payload.
True if and only if the current ttlv_recv_header matches a REG_TOGGLE message with a ttlv_msg_reg payload.
True if and only if the current ttlv_recv_header matches a REG_WR_EXCH message with a ttlv_msg_reg payload.
True if and only if the current ttlv_recv_header matches a REG_WRITE message with a ttlv_msg_reg payload.
True if and only if the current ttlv_recv_header matches a REGPAIR_READ message with a ttlv_reg_index payload.
True if and only if the current ttlv_recv_header matches a REGPAIR_RW_EXCH message with a ttlv_msg_regpair payload.
True if and only if the current ttlv_recv_header matches a REGPAIR_TOGGLE message with a ttlv_msg_regpair payload.
True if and only if the current ttlv_recv_header matches a REGPAIR_WR_EXCH message with a ttlv_msg_regpair payload.
True if and only if the current ttlv_recv_header matches a REGPAIR_WRITE message with a ttlv_msg_regpair payload.
True if and only if the current ttlv_recv_header matches a RESULT message with a ttlv_result payload.
Evaluates to a true value and only if the specified TLV message type identifier and length match the ones currently stored in ttlv_recv_header.
Converts a pointer to an arbitrary type into a pointer to a constant instance of another arbitrary type, without triggering compiler warnings.
Converts a pointer to an arbitrary type into a pointer to const uint8_t, without triggering compiler warnings.
Converts a pointer to an arbitrary type into a pointer to uint8_t, without triggering compiler warnings.
Evaluates to a true value if and only if at least one received message header (TLV header only in TLV mode, INM+TLV header in INM mode) is currently pending.
Evaluates to a true value if and only if at least one complete received message is currently pending.
Combined size in bytes of an INM header and a TLV header.
Size in bytes of a TLV header.
Evaluates to a true value if and only if the argument is a TTLV error code.
Special INM address representing the local node.
Maximum TTLV message length for large messages.
Largest valid TTLV message type number for large messages.
Maximum TLV length of an INM message handled by the TTLV module.
Maximum TLV length of a plain TLV message handled by the TTLV module.
Largest valid INM address.
Largest valid TTLV message ID.
Maximum TTLV message length for standard messages.
Largest valid TTLV message type number for standard messages.
Smallest valid TTLV message type number for large messages.
Smallest valid TTLV message type number for standard messages.
TTLV message type number reserved for protocol messages.
Converts a pointer to an arbitrary type into a pointer to another arbitrary type, without triggering compiler warnings.
Size in bytes of the TTLV receive buffer.
Defines a static function that uses specified logical register read and write functions to implement the register read-write operation (X = R; R = V; ret X).
Defines a static function that uses specified logical register read and write functions to implement the register toggle operation (R ^= V; ret R).
Defines a static function that uses specified logical register read and write functions to implement the register write-read operation (R = V; ret R).
Defines a static function that uses a specified logical register read function to implement the register pair read operation (ret R).
Defines a static function that uses specified logical register pair read and write functions to implement the register pair read-write operation (X = R; R = V; ret X).
Defines a static function that uses specified logical register pair read and write functions to implement the register pair toggle operation (R ^= V; ret R).
Defines a static function that uses specified logical register pair read and write functions to implement the register pair write-read operation (R = V; ret R).
Defines a static function that uses a specified logical register write function to implement the register pair write operation (R = V).
Size in bytes of the TTLV transmit buffer.
Defines a watchdog-disabling routine that is executed automatically at MCU reset.
Defines a watchdog-disabling routine that is executed automatically at MCU reset.
Close