|
| | SM (PIO0_t &p, PIO0_t &ps, PIO0_t &pc, uint8_t pi, uint8_t smi, uint8_t l, SM_regs &r) |
| |
| void | execute (uint16_t instruction) |
| |
| void | setRegister (out_dest_t reg, uint32_t val, uint8_t offset=0, uint8_t size=32) |
| |
| void | setClock (uint32_t hz) |
| |
| bool | TxFifoFull () const |
| |
| bool | TxFifoEmpty () const |
| |
| bool | RxFifoEmpty () const |
| |
| void | writeTxFifo (uint32_t val) |
| |
| uint32_t | readRxFifo () |
| |
| void | setWrap (uint8_t bottom, uint8_t top) |
| |
| void | enable () |
| |
| void | disable () |
| |
| bool | isEnabled () const |
| |
| bool | isStalled () |
| |
| void | attachIrq (function< void()> handler) |
| |
| void | enableIrq () |
| |
| void | disableIrq () |
| |
| void | attachTXNFULLIrq (function< void()> handler) |
| |
| void | enableTXNFULLIrq () |
| |
| void | disableTXNFULLIrq () |
| |
| void | attachRXNEMPTYIrq (function< void()> handler) |
| |
| void | enableRXNEMPTYIrq () |
| |
| void | disableRXNEMPTYIrq () |
| |
| | SM (PIO0_t &p, PIO0_t &ps, PIO0_t &pc, uint8_t pi, uint8_t smi, uint8_t l, SM_regs &r) |
| |
| void | execute (uint16_t instruction) |
| |
|
void | setRegister (out_dest_t reg, uint32_t val, uint8_t offset=0, uint8_t size=32) |
| |
|
void | setClock (uint32_t hz) |
| |
| bool | TxFifoFull () const |
| |
| bool | TxFifoEmpty () const |
| |
| bool | RxFifoFull () const |
| |
| bool | RxFifoEmpty () const |
| |
| void | writeTxFifo (uint32_t val) |
| |
| uint32_t | readRxFifo () |
| |
| void | setWrap (uint8_t bottom, uint8_t top) |
| |
| void | enable () |
| |
| void | disable () |
| |
| bool | isEnabled () const |
| |
| void | reset () |
| |
| void | restart () |
| |
| void | attachIrq (const function< void()> &handler) const |
| |
|
void | enableIrq () |
| |
|
void | disableIrq () |
| |
| void | attachTXNFULLIrq (const function< void()> &handler) const |
| |
|
void | enableTXNFULLIrq () |
| |
|
void | disableTXNFULLIrq () |
| |
| void | attachRXNEMPTYIrq (const function< void()> &handler) const |
| |
|
void | enableRXNEMPTYIrq () |
| |
|
void | disableRXNEMPTYIrq () |
| |
Definition at line 227 of file pio_rp2040.h.
◆ SM() [1/2]
◆ SM() [2/2]
◆ attachIrq() [1/2]
| void SM::attachIrq |
( |
const function< void()> & | handler | ) |
const |
◆ attachIrq() [2/2]
| void SM::attachIrq |
( |
function< void()> | handler | ) |
|
◆ attachRXNEMPTYIrq() [1/2]
| void SM::attachRXNEMPTYIrq |
( |
const function< void()> & | handler | ) |
const |
◆ attachRXNEMPTYIrq() [2/2]
| void SM::attachRXNEMPTYIrq |
( |
function< void()> | handler | ) |
|
◆ attachTXNFULLIrq() [1/2]
| void SM::attachTXNFULLIrq |
( |
const function< void()> & | handler | ) |
const |
◆ attachTXNFULLIrq() [2/2]
| void SM::attachTXNFULLIrq |
( |
function< void()> | handler | ) |
|
◆ disable() [1/2]
◆ disable() [2/2]
◆ disableIrq()
◆ disableRXNEMPTYIrq()
| void SM::disableRXNEMPTYIrq |
( |
| ) |
|
◆ disableTXNFULLIrq()
| void SM::disableTXNFULLIrq |
( |
| ) |
|
◆ enable() [1/2]
◆ enable() [2/2]
◆ enableIrq()
◆ enableRXNEMPTYIrq()
| void SM::enableRXNEMPTYIrq |
( |
| ) |
|
◆ enableTXNFULLIrq()
| void SM::enableTXNFULLIrq |
( |
| ) |
|
◆ execute() [1/2]
| void SM::execute |
( |
uint16_t | instruction | ) |
|
|
inline |
◆ execute() [2/2]
| void SM::execute |
( |
uint16_t | instruction | ) |
|
|
inline |
◆ isEnabled() [1/2]
| bool SM::isEnabled |
( |
| ) |
const |
|
inline |
◆ isEnabled() [2/2]
| bool SM::isEnabled |
( |
| ) |
const |
|
inline |
◆ isStalled()
◆ readRxFifo() [1/2]
| uint32_t SM::readRxFifo |
( |
| ) |
|
|
inline |
◆ readRxFifo() [2/2]
| uint32_t SM::readRxFifo |
( |
| ) |
|
|
inline |
◆ reset()
◆ restart()
◆ RxFifoEmpty() [1/2]
| bool SM::RxFifoEmpty |
( |
| ) |
const |
|
inline |
◆ RxFifoEmpty() [2/2]
| bool SM::RxFifoEmpty |
( |
| ) |
const |
|
inline |
◆ RxFifoFull()
| bool SM::RxFifoFull |
( |
| ) |
const |
|
inline |
◆ setClock()
| void SM::setClock |
( |
uint32_t | hz | ) |
|
◆ setRegister()
| void SM::setRegister |
( |
out_dest_t | reg, |
|
|
uint32_t | val, |
|
|
uint8_t | offset = 0, |
|
|
uint8_t | size = 32 ) |
◆ setWrap() [1/2]
| void SM::setWrap |
( |
uint8_t | bottom, |
|
|
uint8_t | top ) |
|
inline |
◆ setWrap() [2/2]
| void SM::setWrap |
( |
uint8_t | bottom, |
|
|
uint8_t | top ) |
|
inline |
◆ TxFifoEmpty() [1/2]
| bool SM::TxFifoEmpty |
( |
| ) |
const |
|
inline |
◆ TxFifoEmpty() [2/2]
| bool SM::TxFifoEmpty |
( |
| ) |
const |
|
inline |
◆ TxFifoFull() [1/2]
| bool SM::TxFifoFull |
( |
| ) |
const |
|
inline |
◆ TxFifoFull() [2/2]
| bool SM::TxFifoFull |
( |
| ) |
const |
|
inline |
◆ writeTxFifo() [1/2]
| void SM::writeTxFifo |
( |
uint32_t | val | ) |
|
|
inline |
◆ writeTxFifo() [2/2]
| void SM::writeTxFifo |
( |
uint32_t | val | ) |
|
|
inline |
◆ load_addr
◆ pio
◆ pio_clr
◆ pio_index
◆ pio_set
◆ regs
◆ sm_index
The documentation for this struct was generated from the following files:
- /builds/Terstegge/yahal_with_examples/src/MCU/rp2040/pio_rp2040.h
- /builds/Terstegge/yahal_with_examples/src/MCU/rp2350/pio_rp2350.h
- /builds/Terstegge/yahal_with_examples/src/MCU/rp2040/pio_rp2040.cpp
- /builds/Terstegge/yahal_with_examples/src/MCU/rp2350/pio_rp2350.cpp