Profinet Device FWHAL(Firmware and Hardware Abstraction Layer) APIs implement the key interface between Profinet firmware and slave stack.
◆ PN_clearPruIRQ()
| void PN_clearPruIRQ |
( |
PRUICSS_HwAttrs const * |
pruicssHwAttrs, |
|
|
uint8_t |
irq_num |
|
) |
| |
◆ PN_setBaseClock()
| int32_t PN_setBaseClock |
( |
PN_Handle |
pnHandle, |
|
|
uint16_t |
factor |
|
) |
| |
Sets Profinet base clock in multiples of 31.25us.
- Parameters
-
| [in] | pnHandle | Profinet Handle |
| factor | Clock send factor: min value 8, max value 128 |
- Return values
-
| Slot | number (>=0) |
| <0 | if failure |