Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muJoseph authored Dec 30, 2022
1 parent 4c7285c commit fa07917
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ if (events & SBP_UART_SM_EVT)
```

Call *mujoe_sm_trigger* to notify state machine of external, asynchronous events.

```c

void uart_driver_read_CB( UART_Handle handle, void *buf, size_t count)
{
// Fire trigger to notify state machine that UART peripheral has received new bytes
mujoe_sm_trigger( &uart_sm, UART_SM_RET_CODE_CMD_RXD );
}

```
## Example:
The *example* folder contains a Code Composer Studio (CCS) project targetting the Texas Instruments (TI) CC2640R2 microcontroller in
Expand Down

0 comments on commit fa07917

Please sign in to comment.