Functions | |
| void | Cy_ISOUART_NodeInit (ISOUART_Type *base, const cy_stc_isouart_node_config_t *config) |
| Full Init of the iso UART in node mode. More... | |
| void | Cy_ISOUART_NodeConfigTriggerInt (ISOUART_Type *base, uint8_t trigIntId, cy_en_isouart_event_t trigSrc, cy_en_isouart_event_t primIntSrc, cy_en_isouart_event_t secIntSrc) |
| Configure one trigger and interrupt struct. More... | |
| __STATIC_INLINE void | Cy_ISOUART_NodeSetWdtCount (ISOUART_Type *base, uint16_t counter) |
| Updates Wdt down counter by SW. More... | |
| __STATIC_INLINE uint16_t | Cy_ISOUART_NodeGetWdtCount (const ISOUART_Type *base) |
| Get the current Wdt counter value. More... | |
| __STATIC_INLINE void | Cy_ISOUART_NodeTriggerEMM (ISOUART_Type *base) |
| Triggers emergency mode (EMM) signal transmission on the chain. More... | |
| __STATIC_INLINE uint8_t | Cy_ISOUART_NodeGetClkCounter (ISOUART_Type *base) |
| Returns the raw clock counter captured at the last sync frame. More... | |
| __STATIC_INLINE cy_en_isouart_wakeup_source_t | Cy_ISOUART_NodeGetWakeupSource (const ISOUART_Type *base) |
| Get the last wakeup source of the node. More... | |
| __STATIC_INLINE bool | Cy_ISOUART_NodeGetMasterTopology (const ISOUART_Type *base) |
| Get the current master topology configuration. More... | |
| uint32_t | Cy_ISOUART_NodeGetNumMultiReadA (const ISOUART_Type *base) |
| Get the number of reads from base address A after receiving multi-read command. More... | |
| uint32_t | Cy_ISOUART_NodeGetNumMultiReadB (const ISOUART_Type *base) |
| Get the number of reads from base address B after receiving multi-read command. More... | |
| void | Cy_ISOUART_NodeGetInterfaceConfig (const ISOUART_Type *base, cy_stc_isouart_node_interface_config_t *config) |
| Get node interface configuration. More... | |
| void Cy_ISOUART_NodeInit | ( | ISOUART_Type * | base, |
| const cy_stc_isouart_node_config_t * | config | ||
| ) |
Full Init of the iso UART in node mode.
| base | The base address for the iso UART. |
| config | Configuration options for the iso UART in node mode. See cy_stc_isouart_node_config_t. |
| void Cy_ISOUART_NodeConfigTriggerInt | ( | ISOUART_Type * | base, |
| uint8_t | trigIntId, | ||
| cy_en_isouart_event_t | trigSrc, | ||
| cy_en_isouart_event_t | primIntSrc, | ||
| cy_en_isouart_event_t | secIntSrc | ||
| ) |
Configure one trigger and interrupt struct.
| base | The base address for the iso UART. |
| trigIntId | The trigger interrupt ID. The valid range is from 0 to 17. |
| trigSrc | Source of trigger. See cy_en_isouart_event_t. |
| primIntSrc | Source of primary interrupt. See cy_en_isouart_event_t. |
| secIntSrc | Source of secondary interrupt. See cy_en_isouart_event_t. |
| __STATIC_INLINE void Cy_ISOUART_NodeSetWdtCount | ( | ISOUART_Type * | base, |
| uint16_t | counter | ||
| ) |
Updates Wdt down counter by SW.
The Wdt is normally fed by host via iso UART write command. This function is not mandatory to be called in normal case.
| base | The base address for the iso UART. |
| counter | New counter value. |
| __STATIC_INLINE uint16_t Cy_ISOUART_NodeGetWdtCount | ( | const ISOUART_Type * | base | ) |
Get the current Wdt counter value.
| base | The base address for the iso UART. |
| __STATIC_INLINE void Cy_ISOUART_NodeTriggerEMM | ( | ISOUART_Type * | base | ) |
Triggers emergency mode (EMM) signal transmission on the chain.
| base | The base address for the iso UART. |
| __STATIC_INLINE uint8_t Cy_ISOUART_NodeGetClkCounter | ( | ISOUART_Type * | base | ) |
Returns the raw clock counter captured at the last sync frame.
This value is the number of peripheral clock cycles for the sync frame. Divide the returned value by 8 to obtain peripheral clock cycles per bit.
| base | The base address for the iso UART. |
| __STATIC_INLINE cy_en_isouart_wakeup_source_t Cy_ISOUART_NodeGetWakeupSource | ( | const ISOUART_Type * | base | ) |
Get the last wakeup source of the node.
| base | The base address for the iso UART. |
| __STATIC_INLINE bool Cy_ISOUART_NodeGetMasterTopology | ( | const ISOUART_Type * | base | ) |
Get the current master topology configuration.
| base | The base address for the iso UART. |
| uint32_t Cy_ISOUART_NodeGetNumMultiReadA | ( | const ISOUART_Type * | base | ) |
Get the number of reads from base address A after receiving multi-read command.
| base | The base address for the iso UART. |
| uint32_t Cy_ISOUART_NodeGetNumMultiReadB | ( | const ISOUART_Type * | base | ) |
Get the number of reads from base address B after receiving multi-read command.
| base | The base address for the iso UART. |
| void Cy_ISOUART_NodeGetInterfaceConfig | ( | const ISOUART_Type * | base, |
| cy_stc_isouart_node_interface_config_t * | config | ||
| ) |
Get node interface configuration.
| base | The base address for the iso UART. |
| config | Pointer to a configuration structure to be filled. See cy_stc_isouart_node_interface_config_t |