frSetPOCState
Valid for: CANoe DE NoteThe function is supported by VN interfaces only!
Function Syntax
Description
This function puts the FlexRay Communication Controller (CC) into the desired Protocol Operation Mode (POC state). The function is non-blocking. That means, the function will return before the CC has reached the desired POC-state. All E-Ray POC-state changes can be monitored with the status- or POC-state-events. A status event is generated as soon as the second CC has reached the desired POC-state.Parameters
- Channel: FlexRay channel (cluster number).
- ccNumber:
- 1: E-Ray
- 2: Second Startup Controller/Coldstart helper (Fujitsu)
- pocState: Desired POC state:
- 0: wakeup
- 1: normal active
- 2: halt
- 3: ready
Return Values
- 0: Error (wrong parameter, or the POC state cannot be reached)