Function 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
T
 tbouncer_init
 tbouncer_shutdown
 ttlv_begin_xmit
 ttlv_finish_recv
 ttlv_get_bytes
 ttlv_init
 ttlv_put_byte
 ttlv_put_bytes
 ttlv_recv
 ttlv_reg_manipulator
 ttlv_reg_setter
 ttlv_regpair_manipulator
 ttlv_regpair_setter
 ttlv_shutdown
 ttlv_try_begin_xmit
 ttlv_try_put_bytes
 ttlv_unput_bytes
 ttlv_xmit
 ttlv_xmit_inm_result
 ttlv_xmit_response
 ttlv_xmit_result
W
 watchdog_reset_mcu
void tbouncer_init(uint8_t task_num_cat,
sched_time poll_delay,
uint8_t a_mask,
uint8_t b_mask,
uint8_t c_mask,
uint8_t d_mask,
sched_catflags notify_cats,
uint8_t invoke_mask,
uint8_t invoke_st)
Initializes the debouncer module.
void tbouncer_shutdown(void)
Shuts down the debouncer module.
ttlv_state ttlv_begin_xmit(void)
Initiates message transmission.
ttlv_state ttlv_finish_recv(void)
Finishes message reception.
uint8_t ttlv_get_bytes(uint8_t n,
uint8_t *data_p)
Retrieves data bytes from the start of the sequence of incoming bytes in the receive buffer.
void ttlv_init(uint8_t task_num_cat,
uint16_t ubrr,
uint8_t parity,
uint8_t u2x,
ttlv_mode mode,
sched_catflags xmit_task_cats,
sched_catflags recv_task_cats)
Initializes the TTLV communication module.
uint8_t ttlv_put_byte(uint8_t data)
Appends a data byte to the sequence of outgoing bytes in the transmit buffer.
uint8_t ttlv_put_bytes(uint8_t n,
const uint8_t *data_p)
Appends data bytes to the sequence of outgoing bytes in the transmit buffer.
ttlv_state ttlv_recv(uint8_t *data_p)
Retrieves the data bytes of a received message and finishes message reception.
typedef ttlv_result (
   *ttlv_reg_manipulator
)(ttlv_reg_index index, ttlv_reg_value *value_p)
The type of pointers to functions that perform some update operation on a specified logical register.
typedef ttlv_result (
   *ttlv_reg_setter
)(ttlv_reg_index index, ttlv_reg_value value)
The type of pointers to functions that set the value of a specified logical register.
typedef ttlv_result (
   *ttlv_regpair_manipulator
)(ttlv_reg_index index, ttlv_regpair_value *value_p)
The type of pointers to functions that perform some update operation on a specified logical register pair.
typedef ttlv_result (
   *ttlv_regpair_setter
)(ttlv_reg_index index, ttlv_regpair_value value)
The type of pointers to functions that set the value of a specified logical register pair.
void ttlv_shutdown(void)
Shuts down the TTLV communication module.
ttlv_state ttlv_try_begin_xmit(void)
Initiates message transmission or clears the transmit buffer.
uint8_t ttlv_try_put_bytes(uint8_t n,
const uint8_t *data_p)
Attempts to append all the specified data bytes to the sequence of outgoing bytes in the transmit buffer.
uint8_t ttlv_unput_bytes(uint8_t n)
Removes uncommitted data bytes from the end of the sequence of outgoing bytes in the transmit buffer.
ttlv_state ttlv_xmit(uint8_t dstadr,
uint8_t type,
uint8_t length,
const uint8_t *data_p)
Initiates transmission of a specified message or clears the transmit buffer.
ttlv_state ttlv_xmit_inm_result(ttlv_result res)
Convenience function that uses ttlv_xmit to transmit a TTLV_MSG_T_INM_RESULT message.
ttlv_state ttlv_xmit_response(uint8_t type,
uint8_t length,
const uint8_t *data_p)
Convenience function that uses ttlv_xmit to transmit a message.
ttlv_state ttlv_xmit_result(ttlv_result res)
Convenience function that uses ttlv_xmit to transmit a TTLV_MSG_T_RESULT message.
void watchdog_reset_mcu(void) __attribute__ ((noreturn))
Uses the watchdog timer to trigger a reset of the MCU.
Close