@@ -156,13 +156,13 @@ bool TC6_Arduino_10BASE_T1S::begin(IPAddress const ip_addr,
156156 , &_lw
157157 , _lw.ip .mac
158158 , true /* enable_plca */
159- , t1s_plca_settings.node_id ()
160- , t1s_plca_settings.node_count ()
161- , t1s_plca_settings.burst_count ()
162- , t1s_plca_settings.burst_timer ()
163- , t1s_mac_settings.mac_promiscuous_mode ()
164- , t1s_mac_settings.mac_tx_cut_through ()
165- , t1s_mac_settings.mac_rx_cut_through ()))
159+ , t1s_plca_settings.nodeId ()
160+ , t1s_plca_settings.nodeCount ()
161+ , t1s_plca_settings.burstCount ()
162+ , t1s_plca_settings.burstTimer ()
163+ , t1s_mac_settings.isMacPromiscuousModeEnabled ()
164+ , t1s_mac_settings.isMacTxCutThroughEnabled ()
165+ , t1s_mac_settings.isMacRxCutThroughEnabled ()))
166166 return false ;
167167
168168 /* Complete initialization. */
@@ -206,11 +206,11 @@ void TC6_Arduino_10BASE_T1S::service()
206206{
207207 sys_check_timeouts (); /* LWIP timers - ARP, DHCP, TCP, etc. */
208208
209- if (_tc6_io->is_interrupt_active ())
209+ if (_tc6_io->isInterruptActive ())
210210 {
211211 if (TC6_Service (_lw.tc .tc6 , false ))
212212 {
213- _tc6_io->release_interrupt ();
213+ _tc6_io->releaseInterrupt ();
214214 }
215215 } else if (_lw.tc .tc6NeedService )
216216 {
@@ -229,7 +229,7 @@ bool TC6_Arduino_10BASE_T1S::getPlcaStatus(TC6LwIP_On_PlcaStatus on_plca_status)
229229
230230bool TC6_Arduino_10BASE_T1S::enablePlca ()
231231{
232- return TC6Regs_SetPlca (_lw.tc .tc6 , true , _t1s_plca_settings.node_id (), _t1s_plca_settings.node_count ());
232+ return TC6Regs_SetPlca (_lw.tc .tc6 , true , _t1s_plca_settings.nodeId (), _t1s_plca_settings.nodeCount ());
233233}
234234
235235bool TC6_Arduino_10BASE_T1S::sendWouldBlock ()
@@ -389,7 +389,7 @@ bool TC6_CB_OnSpiTransaction(TC6_t *pInst, uint8_t *pTx, uint8_t *pRx, uint16_t
389389 if (lw == nullptr ) {
390390 return false ;
391391 }
392- bool const success = lw->io ->spi_transaction (pTx, pRx, len);
392+ bool const success = lw->io ->spiTransaction (pTx, pRx, len);
393393 TC6_SpiBufferDone (pInst /* tc6instance */ , success /* success */ );
394394 return success;
395395}
0 commit comments